blob: 75e342ebd48725713f08862436d817def2857c8f [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 Veillard5099ae81999-04-21 20:12:07 +000062NAME="AEN4419"
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 Veillard5099ae81999-04-21 20:12:07 +000070NAME="AEN4422"
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
180HREF="gnome-xml-entities.html#XMLNEWENTITYINPUTSTREAM"
181>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 Veillard35925471999-02-25 08:46:07 +0000219HREF="gnome-xml-tree.html#CHAR"
220>CHAR</A
221>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000222HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
223>xmlSplitQName</A
224> (const <A
225HREF="gnome-xml-tree.html#CHAR"
226>CHAR</A
227> *name,
228 <A
229HREF="gnome-xml-tree.html#CHAR"
230>CHAR</A
231> **prefix);
232<A
233HREF="gnome-xml-tree.html#CHAR"
234>CHAR</A
235>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000236HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
237>xmlNamespaceParseNCName</A
238> (<A
239HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
240>xmlParserCtxtPtr</A
241> ctxt);
242<A
243HREF="gnome-xml-tree.html#CHAR"
244>CHAR</A
245>* <A
246HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
247>xmlNamespaceParseQName</A
248> (<A
249HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
250>xmlParserCtxtPtr</A
251> ctxt,
252 <A
253HREF="gnome-xml-tree.html#CHAR"
254>CHAR</A
255> **prefix);
256<A
257HREF="gnome-xml-tree.html#CHAR"
258>CHAR</A
259>* <A
260HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
261>xmlNamespaceParseNSDef</A
262> (<A
263HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
264>xmlParserCtxtPtr</A
265> ctxt);
266<A
267HREF="gnome-xml-tree.html#CHAR"
268>CHAR</A
269>* <A
270HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
271>xmlParseQuotedString</A
272> (<A
273HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
274>xmlParserCtxtPtr</A
275> ctxt);
276void <A
277HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
278>xmlParseNamespace</A
279> (<A
280HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
281>xmlParserCtxtPtr</A
282> ctxt);
283<A
284HREF="gnome-xml-tree.html#CHAR"
285>CHAR</A
286>* <A
287HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
288>xmlParseName</A
289> (<A
290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
291>xmlParserCtxtPtr</A
292> ctxt);
293<A
294HREF="gnome-xml-tree.html#CHAR"
295>CHAR</A
296>* <A
297HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
298>xmlParseNmtoken</A
299> (<A
300HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
301>xmlParserCtxtPtr</A
302> ctxt);
303<A
304HREF="gnome-xml-tree.html#CHAR"
305>CHAR</A
306>* <A
307HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
308>xmlParseEntityValue</A
309> (<A
310HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
311>xmlParserCtxtPtr</A
312> ctxt);
313<A
314HREF="gnome-xml-tree.html#CHAR"
315>CHAR</A
316>* <A
317HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
318>xmlParseAttValue</A
319> (<A
320HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
321>xmlParserCtxtPtr</A
322> ctxt);
323<A
324HREF="gnome-xml-tree.html#CHAR"
325>CHAR</A
326>* <A
327HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
328>xmlParseSystemLiteral</A
329> (<A
330HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
331>xmlParserCtxtPtr</A
332> ctxt);
333<A
334HREF="gnome-xml-tree.html#CHAR"
335>CHAR</A
336>* <A
337HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
338>xmlParsePubidLiteral</A
339> (<A
340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
341>xmlParserCtxtPtr</A
342> ctxt);
343void <A
344HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
345>xmlParseCharData</A
346> (<A
347HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
348>xmlParserCtxtPtr</A
349> ctxt,
350 int cdata);
351<A
352HREF="gnome-xml-tree.html#CHAR"
353>CHAR</A
354>* <A
355HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
356>xmlParseExternalID</A
357> (<A
358HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
359>xmlParserCtxtPtr</A
360> ctxt,
361 <A
362HREF="gnome-xml-tree.html#CHAR"
363>CHAR</A
364> **publicID,
365 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000366void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000367HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
368>xmlParseComment</A
369> (<A
370HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
371>xmlParserCtxtPtr</A
372> ctxt,
373 int create);
374<A
375HREF="gnome-xml-tree.html#CHAR"
376>CHAR</A
377>* <A
378HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
379>xmlParsePITarget</A
380> (<A
381HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
382>xmlParserCtxtPtr</A
383> ctxt);
384void <A
385HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
386>xmlParsePI</A
387> (<A
388HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
389>xmlParserCtxtPtr</A
390> ctxt);
391void <A
392HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
393>xmlParseNotationDecl</A
394> (<A
395HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
396>xmlParserCtxtPtr</A
397> ctxt);
398void <A
399HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
400>xmlParseEntityDecl</A
401> (<A
402HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
403>xmlParserCtxtPtr</A
404> ctxt);
405int <A
406HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
407>xmlParseDefaultDecl</A
408> (<A
409HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
410>xmlParserCtxtPtr</A
411> ctxt,
412 <A
413HREF="gnome-xml-tree.html#CHAR"
414>CHAR</A
415> **value);
416<A
417HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
418>xmlEnumerationPtr</A
419> <A
420HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
421>xmlParseNotationType</A
422> (<A
423HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
424>xmlParserCtxtPtr</A
425> ctxt);
426<A
427HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
428>xmlEnumerationPtr</A
429> <A
430HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
431>xmlParseEnumerationType</A
432> (<A
433HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
434>xmlParserCtxtPtr</A
435> ctxt);
436int <A
437HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
438>xmlParseEnumeratedType</A
439> (<A
440HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
441>xmlParserCtxtPtr</A
442> ctxt,
443 <A
444HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
445>xmlEnumerationPtr</A
446> *tree);
447int <A
448HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
449>xmlParseAttributeType</A
450> (<A
451HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
452>xmlParserCtxtPtr</A
453> ctxt,
454 <A
455HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
456>xmlEnumerationPtr</A
457> *tree);
458void <A
459HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
460>xmlParseAttributeListDecl</A
461> (<A
462HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
463>xmlParserCtxtPtr</A
464> ctxt);
465<A
466HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
467>xmlElementContentPtr</A
468> <A
469HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
470>xmlParseElementMixedContentDecl</A
471>
472 (<A
473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
474>xmlParserCtxtPtr</A
475> ctxt);
476<A
477HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
478>xmlElementContentPtr</A
479> <A
480HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
481>xmlParseElementChildrenContentDecl</A
482>
483 (<A
484HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
485>xmlParserCtxtPtr</A
486> ctxt);
487int <A
488HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
489>xmlParseElementContentDecl</A
490> (<A
491HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
492>xmlParserCtxtPtr</A
493> ctxt,
494 <A
495HREF="gnome-xml-tree.html#CHAR"
496>CHAR</A
497> *name,
498 <A
499HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
500>xmlElementContentPtr</A
501> *result);
502int <A
503HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
504>xmlParseElementDecl</A
505> (<A
506HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
507>xmlParserCtxtPtr</A
508> ctxt);
509void <A
510HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
511>xmlParseMarkupDecl</A
512> (<A
513HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
514>xmlParserCtxtPtr</A
515> ctxt);
516<A
517HREF="gnome-xml-tree.html#CHAR"
518>CHAR</A
519>* <A
520HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
521>xmlParseCharRef</A
522> (<A
523HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
524>xmlParserCtxtPtr</A
525> ctxt);
526<A
527HREF="gnome-xml-tree.html#CHAR"
528>CHAR</A
529>* <A
530HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
531>xmlParseEntityRef</A
532> (<A
533HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
534>xmlParserCtxtPtr</A
535> ctxt);
536<A
537HREF="gnome-xml-tree.html#CHAR"
538>CHAR</A
539>* <A
540HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
541>xmlParseReference</A
542> (<A
543HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
544>xmlParserCtxtPtr</A
545> ctxt);
546<A
547HREF="gnome-xml-tree.html#CHAR"
548>CHAR</A
549>* <A
550HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
551>xmlParsePEReference</A
552> (<A
553HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
554>xmlParserCtxtPtr</A
555> ctxt);
556void <A
557HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
558>xmlParseDocTypeDecl</A
559> (<A
560HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
561>xmlParserCtxtPtr</A
562> ctxt);
563<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000564HREF="gnome-xml-tree.html#CHAR"
565>CHAR</A
566>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000567HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
568>xmlParseAttribute</A
569> (<A
570HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
571>xmlParserCtxtPtr</A
572> ctxt,
573 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000574HREF="gnome-xml-tree.html#CHAR"
575>CHAR</A
576> **value);
577void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000578HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
579>xmlParseStartTag</A
580> (<A
581HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
582>xmlParserCtxtPtr</A
583> ctxt);
584void <A
585HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
586>xmlParseEndTag</A
587> (<A
588HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
589>xmlParserCtxtPtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000590> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000591void <A
592HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
593>xmlParseCDSect</A
594> (<A
595HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
596>xmlParserCtxtPtr</A
597> ctxt);
598void <A
599HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
600>xmlParseContent</A
601> (<A
602HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
603>xmlParserCtxtPtr</A
604> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000605void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000606HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
607>xmlParseElement</A
608> (<A
609HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
610>xmlParserCtxtPtr</A
611> ctxt);
612<A
613HREF="gnome-xml-tree.html#CHAR"
614>CHAR</A
615>* <A
616HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
617>xmlParseVersionNum</A
618> (<A
619HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
620>xmlParserCtxtPtr</A
621> ctxt);
622<A
623HREF="gnome-xml-tree.html#CHAR"
624>CHAR</A
625>* <A
626HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
627>xmlParseVersionInfo</A
628> (<A
629HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
630>xmlParserCtxtPtr</A
631> ctxt);
632<A
633HREF="gnome-xml-tree.html#CHAR"
634>CHAR</A
635>* <A
636HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
637>xmlParseEncName</A
638> (<A
639HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
640>xmlParserCtxtPtr</A
641> ctxt);
642<A
643HREF="gnome-xml-tree.html#CHAR"
644>CHAR</A
645>* <A
646HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
647>xmlParseEncodingDecl</A
648> (<A
649HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
650>xmlParserCtxtPtr</A
651> ctxt);
652int <A
653HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
654>xmlParseSDDecl</A
655> (<A
656HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
657>xmlParserCtxtPtr</A
658> ctxt);
659void <A
660HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
661>xmlParseXMLDecl</A
662> (<A
663HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
664>xmlParserCtxtPtr</A
665> ctxt);
666void <A
667HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
668>xmlParseMisc</A
669> (<A
670HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
671>xmlParserCtxtPtr</A
672> ctxt);</PRE
673></TD
674></TR
675></TABLE
676></DIV
677><DIV
678CLASS="REFSECT1"
679><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000680NAME="AEN4592"
Daniel Veillard35925471999-02-25 08:46:07 +0000681></A
682><H2
683>Description</H2
684><P
685></P
686></DIV
687><DIV
688CLASS="REFSECT1"
689><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000690NAME="AEN4595"
Daniel Veillard35925471999-02-25 08:46:07 +0000691></A
692><H2
693>Details</H2
694><HR><DIV
695CLASS="REFSECT2"
696><A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000697NAME="AEN4597"
698></A
699><H3
700><A
701NAME="IS-CHAR"
702></A
703>IS_CHAR()</H3
704><TABLE
705BORDER="0"
706BGCOLOR="#E8E8F8"
707WIDTH="100%"
708CELLPADDING="6"
709><TR
710><TD
711><PRE
712CLASS="PROGRAMLISTING"
713>#define IS_CHAR(c)</PRE
714></TD
715></TR
716></TABLE
717><P
718></P
719><DIV
720CLASS="INFORMALTABLE"
721><P
722></P
723><TABLE
724BORDER="0"
725WIDTH="100%"
726BGCOLOR="#FFE0E0"
727CELLSPACING="0"
728CELLPADDING="4"
729CLASS="CALSTABLE"
730><TR
731><TD
732WIDTH="20%"
733ALIGN="RIGHT"
734VALIGN="TOP"
735><TT
736CLASS="PARAMETER"
737><I
738>c</I
739></TT
740>&nbsp;:</TD
741><TD
742WIDTH="80%"
743ALIGN="LEFT"
744VALIGN="TOP"
745>&nbsp;</TD
746></TR
747></TABLE
748><P
749></P
750></DIV
751></DIV
752><HR><DIV
753CLASS="REFSECT2"
754><A
755NAME="AEN4611"
756></A
757><H3
758><A
759NAME="IS-BLANK"
760></A
761>IS_BLANK()</H3
762><TABLE
763BORDER="0"
764BGCOLOR="#E8E8F8"
765WIDTH="100%"
766CELLPADDING="6"
767><TR
768><TD
769><PRE
770CLASS="PROGRAMLISTING"
771>#define IS_BLANK(c)</PRE
772></TD
773></TR
774></TABLE
775><P
776></P
777><DIV
778CLASS="INFORMALTABLE"
779><P
780></P
781><TABLE
782BORDER="0"
783WIDTH="100%"
784BGCOLOR="#FFE0E0"
785CELLSPACING="0"
786CELLPADDING="4"
787CLASS="CALSTABLE"
788><TR
789><TD
790WIDTH="20%"
791ALIGN="RIGHT"
792VALIGN="TOP"
793><TT
794CLASS="PARAMETER"
795><I
796>c</I
797></TT
798>&nbsp;:</TD
799><TD
800WIDTH="80%"
801ALIGN="LEFT"
802VALIGN="TOP"
803>&nbsp;</TD
804></TR
805></TABLE
806><P
807></P
808></DIV
809></DIV
810><HR><DIV
811CLASS="REFSECT2"
812><A
813NAME="AEN4625"
814></A
815><H3
816><A
817NAME="IS-BASECHAR"
818></A
819>IS_BASECHAR()</H3
820><TABLE
821BORDER="0"
822BGCOLOR="#E8E8F8"
823WIDTH="100%"
824CELLPADDING="6"
825><TR
826><TD
827><PRE
828CLASS="PROGRAMLISTING"
829>#define IS_BASECHAR(c)</PRE
830></TD
831></TR
832></TABLE
833><P
834></P
835><DIV
836CLASS="INFORMALTABLE"
837><P
838></P
839><TABLE
840BORDER="0"
841WIDTH="100%"
842BGCOLOR="#FFE0E0"
843CELLSPACING="0"
844CELLPADDING="4"
845CLASS="CALSTABLE"
846><TR
847><TD
848WIDTH="20%"
849ALIGN="RIGHT"
850VALIGN="TOP"
851><TT
852CLASS="PARAMETER"
853><I
854>c</I
855></TT
856>&nbsp;:</TD
857><TD
858WIDTH="80%"
859ALIGN="LEFT"
860VALIGN="TOP"
861>&nbsp;</TD
862></TR
863></TABLE
864><P
865></P
866></DIV
867></DIV
868><HR><DIV
869CLASS="REFSECT2"
870><A
871NAME="AEN4639"
872></A
873><H3
874><A
875NAME="IS-DIGIT"
876></A
877>IS_DIGIT()</H3
878><TABLE
879BORDER="0"
880BGCOLOR="#E8E8F8"
881WIDTH="100%"
882CELLPADDING="6"
883><TR
884><TD
885><PRE
886CLASS="PROGRAMLISTING"
887>#define IS_DIGIT(c)</PRE
888></TD
889></TR
890></TABLE
891><P
892></P
893><DIV
894CLASS="INFORMALTABLE"
895><P
896></P
897><TABLE
898BORDER="0"
899WIDTH="100%"
900BGCOLOR="#FFE0E0"
901CELLSPACING="0"
902CELLPADDING="4"
903CLASS="CALSTABLE"
904><TR
905><TD
906WIDTH="20%"
907ALIGN="RIGHT"
908VALIGN="TOP"
909><TT
910CLASS="PARAMETER"
911><I
912>c</I
913></TT
914>&nbsp;:</TD
915><TD
916WIDTH="80%"
917ALIGN="LEFT"
918VALIGN="TOP"
919>&nbsp;</TD
920></TR
921></TABLE
922><P
923></P
924></DIV
925></DIV
926><HR><DIV
927CLASS="REFSECT2"
928><A
929NAME="AEN4653"
930></A
931><H3
932><A
933NAME="IS-COMBINING"
934></A
935>IS_COMBINING()</H3
936><TABLE
937BORDER="0"
938BGCOLOR="#E8E8F8"
939WIDTH="100%"
940CELLPADDING="6"
941><TR
942><TD
943><PRE
944CLASS="PROGRAMLISTING"
945>#define IS_COMBINING(c)</PRE
946></TD
947></TR
948></TABLE
949><P
950></P
951><DIV
952CLASS="INFORMALTABLE"
953><P
954></P
955><TABLE
956BORDER="0"
957WIDTH="100%"
958BGCOLOR="#FFE0E0"
959CELLSPACING="0"
960CELLPADDING="4"
961CLASS="CALSTABLE"
962><TR
963><TD
964WIDTH="20%"
965ALIGN="RIGHT"
966VALIGN="TOP"
967><TT
968CLASS="PARAMETER"
969><I
970>c</I
971></TT
972>&nbsp;:</TD
973><TD
974WIDTH="80%"
975ALIGN="LEFT"
976VALIGN="TOP"
977>&nbsp;</TD
978></TR
979></TABLE
980><P
981></P
982></DIV
983></DIV
984><HR><DIV
985CLASS="REFSECT2"
986><A
987NAME="AEN4667"
988></A
989><H3
990><A
991NAME="IS-EXTENDER"
992></A
993>IS_EXTENDER()</H3
994><TABLE
995BORDER="0"
996BGCOLOR="#E8E8F8"
997WIDTH="100%"
998CELLPADDING="6"
999><TR
1000><TD
1001><PRE
1002CLASS="PROGRAMLISTING"
1003>#define IS_EXTENDER(c)</PRE
1004></TD
1005></TR
1006></TABLE
1007><P
1008></P
1009><DIV
1010CLASS="INFORMALTABLE"
1011><P
1012></P
1013><TABLE
1014BORDER="0"
1015WIDTH="100%"
1016BGCOLOR="#FFE0E0"
1017CELLSPACING="0"
1018CELLPADDING="4"
1019CLASS="CALSTABLE"
1020><TR
1021><TD
1022WIDTH="20%"
1023ALIGN="RIGHT"
1024VALIGN="TOP"
1025><TT
1026CLASS="PARAMETER"
1027><I
1028>c</I
1029></TT
1030>&nbsp;:</TD
1031><TD
1032WIDTH="80%"
1033ALIGN="LEFT"
1034VALIGN="TOP"
1035>&nbsp;</TD
1036></TR
1037></TABLE
1038><P
1039></P
1040></DIV
1041></DIV
1042><HR><DIV
1043CLASS="REFSECT2"
1044><A
1045NAME="AEN4681"
1046></A
1047><H3
1048><A
1049NAME="IS-IDEOGRAPHIC"
1050></A
1051>IS_IDEOGRAPHIC()</H3
1052><TABLE
1053BORDER="0"
1054BGCOLOR="#E8E8F8"
1055WIDTH="100%"
1056CELLPADDING="6"
1057><TR
1058><TD
1059><PRE
1060CLASS="PROGRAMLISTING"
1061>#define IS_IDEOGRAPHIC(c) \
1062 ((((c) &gt;= 0x4e00) &amp;&amp; ((c) &lt;= 0x9fa5)) || \
1063 (((c) &gt;= 0xf900) &amp;&amp; ((c) &lt;= 0xfa2d)) || \
1064 (((c) &gt;= 0x3021) &amp;&amp; ((c) &lt;= 0x3029)) || \
1065 ((c) == 0x3007))</PRE
1066></TD
1067></TR
1068></TABLE
1069><P
1070></P
1071><DIV
1072CLASS="INFORMALTABLE"
1073><P
1074></P
1075><TABLE
1076BORDER="0"
1077WIDTH="100%"
1078BGCOLOR="#FFE0E0"
1079CELLSPACING="0"
1080CELLPADDING="4"
1081CLASS="CALSTABLE"
1082><TR
1083><TD
1084WIDTH="20%"
1085ALIGN="RIGHT"
1086VALIGN="TOP"
1087><TT
1088CLASS="PARAMETER"
1089><I
1090>c</I
1091></TT
1092>&nbsp;:</TD
1093><TD
1094WIDTH="80%"
1095ALIGN="LEFT"
1096VALIGN="TOP"
1097>&nbsp;</TD
1098></TR
1099></TABLE
1100><P
1101></P
1102></DIV
1103></DIV
1104><HR><DIV
1105CLASS="REFSECT2"
1106><A
1107NAME="AEN4695"
1108></A
1109><H3
1110><A
1111NAME="IS-LETTER"
1112></A
1113>IS_LETTER()</H3
1114><TABLE
1115BORDER="0"
1116BGCOLOR="#E8E8F8"
1117WIDTH="100%"
1118CELLPADDING="6"
1119><TR
1120><TD
1121><PRE
1122CLASS="PROGRAMLISTING"
1123>#define IS_LETTER(c)</PRE
1124></TD
1125></TR
1126></TABLE
1127><P
1128></P
1129><DIV
1130CLASS="INFORMALTABLE"
1131><P
1132></P
1133><TABLE
1134BORDER="0"
1135WIDTH="100%"
1136BGCOLOR="#FFE0E0"
1137CELLSPACING="0"
1138CELLPADDING="4"
1139CLASS="CALSTABLE"
1140><TR
1141><TD
1142WIDTH="20%"
1143ALIGN="RIGHT"
1144VALIGN="TOP"
1145><TT
1146CLASS="PARAMETER"
1147><I
1148>c</I
1149></TT
1150>&nbsp;:</TD
1151><TD
1152WIDTH="80%"
1153ALIGN="LEFT"
1154VALIGN="TOP"
1155>&nbsp;</TD
1156></TR
1157></TABLE
1158><P
1159></P
1160></DIV
1161></DIV
1162><HR><DIV
1163CLASS="REFSECT2"
1164><A
1165NAME="AEN4709"
1166></A
1167><H3
1168><A
1169NAME="IS-PUBIDCHAR"
1170></A
1171>IS_PUBIDCHAR()</H3
1172><TABLE
1173BORDER="0"
1174BGCOLOR="#E8E8F8"
1175WIDTH="100%"
1176CELLPADDING="6"
1177><TR
1178><TD
1179><PRE
1180CLASS="PROGRAMLISTING"
1181>#define IS_PUBIDCHAR(c) \
1182 (((c) == 0x20) || ((c) == 0x0D) || ((c) == 0x0A) || \
1183 (((c) &gt;= 'a') &amp;&amp; ((c) &lt;= 'z')) || \
1184 (((c) &gt;= 'A') &amp;&amp; ((c) &lt;= 'Z')) || \
1185 (((c) &gt;= '0') &amp;&amp; ((c) &lt;= '9')) || \
1186 ((c) == '-') || ((c) == '\'') || ((c) == '(') || ((c) == ')') || \
1187 ((c) == '+') || ((c) == ',') || ((c) == '.') || ((c) == '/') || \
1188 ((c) == ':') || ((c) == '=') || ((c) == '?') || ((c) == ';') || \
1189 ((c) == '!') || ((c) == '*') || ((c) == '#') || ((c) == '@') || \
1190 ((c) == '$') || ((c) == '_') || ((c) == '%'))</PRE
1191></TD
1192></TR
1193></TABLE
1194><P
1195></P
1196><DIV
1197CLASS="INFORMALTABLE"
1198><P
1199></P
1200><TABLE
1201BORDER="0"
1202WIDTH="100%"
1203BGCOLOR="#FFE0E0"
1204CELLSPACING="0"
1205CELLPADDING="4"
1206CLASS="CALSTABLE"
1207><TR
1208><TD
1209WIDTH="20%"
1210ALIGN="RIGHT"
1211VALIGN="TOP"
1212><TT
1213CLASS="PARAMETER"
1214><I
1215>c</I
1216></TT
1217>&nbsp;:</TD
1218><TD
1219WIDTH="80%"
1220ALIGN="LEFT"
1221VALIGN="TOP"
1222>&nbsp;</TD
1223></TR
1224></TABLE
1225><P
1226></P
1227></DIV
1228></DIV
1229><HR><DIV
1230CLASS="REFSECT2"
1231><A
1232NAME="AEN4723"
1233></A
1234><H3
1235><A
1236NAME="SKIP-EOL"
1237></A
1238>SKIP_EOL()</H3
1239><TABLE
1240BORDER="0"
1241BGCOLOR="#E8E8F8"
1242WIDTH="100%"
1243CELLPADDING="6"
1244><TR
1245><TD
1246><PRE
1247CLASS="PROGRAMLISTING"
1248>#define SKIP_EOL(p) \
1249 if (*(p) == 0x13) { p++ ; if (*(p) == 0x10) p++; } \
1250 if (*(p) == 0x10) { p++ ; if (*(p) == 0x13) p++; }</PRE
1251></TD
1252></TR
1253></TABLE
1254><P
1255></P
1256><DIV
1257CLASS="INFORMALTABLE"
1258><P
1259></P
1260><TABLE
1261BORDER="0"
1262WIDTH="100%"
1263BGCOLOR="#FFE0E0"
1264CELLSPACING="0"
1265CELLPADDING="4"
1266CLASS="CALSTABLE"
1267><TR
1268><TD
1269WIDTH="20%"
1270ALIGN="RIGHT"
1271VALIGN="TOP"
1272><TT
1273CLASS="PARAMETER"
1274><I
1275>p</I
1276></TT
1277>&nbsp;:</TD
1278><TD
1279WIDTH="80%"
1280ALIGN="LEFT"
1281VALIGN="TOP"
1282>&nbsp;</TD
1283></TR
1284></TABLE
1285><P
1286></P
1287></DIV
1288></DIV
1289><HR><DIV
1290CLASS="REFSECT2"
1291><A
1292NAME="AEN4737"
1293></A
1294><H3
1295><A
1296NAME="MOVETO-ENDTAG"
1297></A
1298>MOVETO_ENDTAG()</H3
1299><TABLE
1300BORDER="0"
1301BGCOLOR="#E8E8F8"
1302WIDTH="100%"
1303CELLPADDING="6"
1304><TR
1305><TD
1306><PRE
1307CLASS="PROGRAMLISTING"
1308>#define MOVETO_ENDTAG(p) \
1309 while (IS_CHAR(*p) &amp;&amp; (*(p) != '&gt;')) (p)++</PRE
1310></TD
1311></TR
1312></TABLE
1313><P
1314></P
1315><DIV
1316CLASS="INFORMALTABLE"
1317><P
1318></P
1319><TABLE
1320BORDER="0"
1321WIDTH="100%"
1322BGCOLOR="#FFE0E0"
1323CELLSPACING="0"
1324CELLPADDING="4"
1325CLASS="CALSTABLE"
1326><TR
1327><TD
1328WIDTH="20%"
1329ALIGN="RIGHT"
1330VALIGN="TOP"
1331><TT
1332CLASS="PARAMETER"
1333><I
1334>p</I
1335></TT
1336>&nbsp;:</TD
1337><TD
1338WIDTH="80%"
1339ALIGN="LEFT"
1340VALIGN="TOP"
1341>&nbsp;</TD
1342></TR
1343></TABLE
1344><P
1345></P
1346></DIV
1347></DIV
1348><HR><DIV
1349CLASS="REFSECT2"
1350><A
1351NAME="AEN4751"
1352></A
1353><H3
1354><A
1355NAME="MOVETO-STARTTAG"
1356></A
1357>MOVETO_STARTTAG()</H3
1358><TABLE
1359BORDER="0"
1360BGCOLOR="#E8E8F8"
1361WIDTH="100%"
1362CELLPADDING="6"
1363><TR
1364><TD
1365><PRE
1366CLASS="PROGRAMLISTING"
1367>#define MOVETO_STARTTAG(p) \
1368 while (IS_CHAR(*p) &amp;&amp; (*(p) != '&lt;')) (p)++</PRE
1369></TD
1370></TR
1371></TABLE
1372><P
1373></P
1374><DIV
1375CLASS="INFORMALTABLE"
1376><P
1377></P
1378><TABLE
1379BORDER="0"
1380WIDTH="100%"
1381BGCOLOR="#FFE0E0"
1382CELLSPACING="0"
1383CELLPADDING="4"
1384CLASS="CALSTABLE"
1385><TR
1386><TD
1387WIDTH="20%"
1388ALIGN="RIGHT"
1389VALIGN="TOP"
1390><TT
1391CLASS="PARAMETER"
1392><I
1393>p</I
1394></TT
1395>&nbsp;:</TD
1396><TD
1397WIDTH="80%"
1398ALIGN="LEFT"
1399VALIGN="TOP"
1400>&nbsp;</TD
1401></TR
1402></TABLE
1403><P
1404></P
1405></DIV
1406></DIV
1407><HR><DIV
1408CLASS="REFSECT2"
1409><A
1410NAME="AEN4765"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001411></A
1412><H3
1413><A
1414NAME="XMLCREATEDOCPARSERCTXT"
1415></A
1416>xmlCreateDocParserCtxt()</H3
1417><TABLE
1418BORDER="0"
1419BGCOLOR="#E8E8F8"
1420WIDTH="100%"
1421CELLPADDING="6"
1422><TR
1423><TD
1424><PRE
1425CLASS="PROGRAMLISTING"
1426><A
1427HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1428>xmlParserCtxtPtr</A
1429> xmlCreateDocParserCtxt (<A
1430HREF="gnome-xml-tree.html#CHAR"
1431>CHAR</A
1432> *cur);</PRE
1433></TD
1434></TR
1435></TABLE
1436><P
1437></P
1438><DIV
1439CLASS="INFORMALTABLE"
1440><P
1441></P
1442><TABLE
1443BORDER="0"
1444WIDTH="100%"
1445BGCOLOR="#FFE0E0"
1446CELLSPACING="0"
1447CELLPADDING="4"
1448CLASS="CALSTABLE"
1449><TR
1450><TD
1451WIDTH="20%"
1452ALIGN="RIGHT"
1453VALIGN="TOP"
1454><TT
1455CLASS="PARAMETER"
1456><I
1457>cur</I
1458></TT
1459>&nbsp;:</TD
1460><TD
1461WIDTH="80%"
1462ALIGN="LEFT"
1463VALIGN="TOP"
1464>&nbsp;</TD
1465></TR
1466><TR
1467><TD
1468WIDTH="20%"
1469ALIGN="RIGHT"
1470VALIGN="TOP"
1471><I
1472CLASS="EMPHASIS"
1473>Returns</I
1474> :</TD
1475><TD
1476WIDTH="80%"
1477ALIGN="LEFT"
1478VALIGN="TOP"
1479>&nbsp;</TD
1480></TR
1481></TABLE
1482><P
1483></P
1484></DIV
1485></DIV
1486><HR><DIV
1487CLASS="REFSECT2"
1488><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001489NAME="AEN4785"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001490></A
1491><H3
1492><A
1493NAME="XMLCREATEFILEPARSERCTXT"
1494></A
1495>xmlCreateFileParserCtxt()</H3
1496><TABLE
1497BORDER="0"
1498BGCOLOR="#E8E8F8"
1499WIDTH="100%"
1500CELLPADDING="6"
1501><TR
1502><TD
1503><PRE
1504CLASS="PROGRAMLISTING"
1505><A
1506HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1507>xmlParserCtxtPtr</A
1508> xmlCreateFileParserCtxt (const char *filename);</PRE
1509></TD
1510></TR
1511></TABLE
1512><P
1513>Create a parser context for a file content.
1514Automatic support for ZLIB/Compress compressed document is provided
1515by default if found at compile-time.</P
1516><P
1517></P
1518><DIV
1519CLASS="INFORMALTABLE"
1520><P
1521></P
1522><TABLE
1523BORDER="0"
1524WIDTH="100%"
1525BGCOLOR="#FFE0E0"
1526CELLSPACING="0"
1527CELLPADDING="4"
1528CLASS="CALSTABLE"
1529><TR
1530><TD
1531WIDTH="20%"
1532ALIGN="RIGHT"
1533VALIGN="TOP"
1534><TT
1535CLASS="PARAMETER"
1536><I
1537>filename</I
1538></TT
1539>&nbsp;:</TD
1540><TD
1541WIDTH="80%"
1542ALIGN="LEFT"
1543VALIGN="TOP"
1544> the filename</TD
1545></TR
1546><TR
1547><TD
1548WIDTH="20%"
1549ALIGN="RIGHT"
1550VALIGN="TOP"
1551><I
1552CLASS="EMPHASIS"
1553>Returns</I
1554> :</TD
1555><TD
1556WIDTH="80%"
1557ALIGN="LEFT"
1558VALIGN="TOP"
1559>the new parser context or NULL</TD
1560></TR
1561></TABLE
1562><P
1563></P
1564></DIV
1565></DIV
1566><HR><DIV
1567CLASS="REFSECT2"
1568><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001569NAME="AEN4805"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001570></A
1571><H3
1572><A
1573NAME="XMLCREATEMEMORYPARSERCTXT"
1574></A
1575>xmlCreateMemoryParserCtxt()</H3
1576><TABLE
1577BORDER="0"
1578BGCOLOR="#E8E8F8"
1579WIDTH="100%"
1580CELLPADDING="6"
1581><TR
1582><TD
1583><PRE
1584CLASS="PROGRAMLISTING"
1585><A
1586HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1587>xmlParserCtxtPtr</A
1588> xmlCreateMemoryParserCtxt (char *buffer,
1589 int size);</PRE
1590></TD
1591></TR
1592></TABLE
1593><P
1594>Create a parser context for an XML in-memory document.</P
1595><P
1596></P
1597><DIV
1598CLASS="INFORMALTABLE"
1599><P
1600></P
1601><TABLE
1602BORDER="0"
1603WIDTH="100%"
1604BGCOLOR="#FFE0E0"
1605CELLSPACING="0"
1606CELLPADDING="4"
1607CLASS="CALSTABLE"
1608><TR
1609><TD
1610WIDTH="20%"
1611ALIGN="RIGHT"
1612VALIGN="TOP"
1613><TT
1614CLASS="PARAMETER"
1615><I
1616>buffer</I
1617></TT
1618>&nbsp;:</TD
1619><TD
1620WIDTH="80%"
1621ALIGN="LEFT"
1622VALIGN="TOP"
1623> an pointer to a char array</TD
1624></TR
1625><TR
1626><TD
1627WIDTH="20%"
1628ALIGN="RIGHT"
1629VALIGN="TOP"
1630><TT
1631CLASS="PARAMETER"
1632><I
1633>size</I
1634></TT
1635>&nbsp;:</TD
1636><TD
1637WIDTH="80%"
1638ALIGN="LEFT"
1639VALIGN="TOP"
1640> the siwe of the array</TD
1641></TR
1642><TR
1643><TD
1644WIDTH="20%"
1645ALIGN="RIGHT"
1646VALIGN="TOP"
1647><I
1648CLASS="EMPHASIS"
1649>Returns</I
1650> :</TD
1651><TD
1652WIDTH="80%"
1653ALIGN="LEFT"
1654VALIGN="TOP"
1655>the new parser context or NULL</TD
1656></TR
1657></TABLE
1658><P
1659></P
1660></DIV
1661></DIV
1662><HR><DIV
1663CLASS="REFSECT2"
1664><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001665NAME="AEN4829"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001666></A
1667><H3
1668><A
1669NAME="XMLFREEPARSERCTXT"
1670></A
1671>xmlFreeParserCtxt()</H3
1672><TABLE
1673BORDER="0"
1674BGCOLOR="#E8E8F8"
1675WIDTH="100%"
1676CELLPADDING="6"
1677><TR
1678><TD
1679><PRE
1680CLASS="PROGRAMLISTING"
1681>void xmlFreeParserCtxt (<A
1682HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1683>xmlParserCtxtPtr</A
1684> ctxt);</PRE
1685></TD
1686></TR
1687></TABLE
1688><P
1689>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00001690document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001691><P
1692></P
1693><DIV
1694CLASS="INFORMALTABLE"
1695><P
1696></P
1697><TABLE
1698BORDER="0"
1699WIDTH="100%"
1700BGCOLOR="#FFE0E0"
1701CELLSPACING="0"
1702CELLPADDING="4"
1703CLASS="CALSTABLE"
1704><TR
1705><TD
1706WIDTH="20%"
1707ALIGN="RIGHT"
1708VALIGN="TOP"
1709><TT
1710CLASS="PARAMETER"
1711><I
1712>ctxt</I
1713></TT
1714>&nbsp;:</TD
1715><TD
1716WIDTH="80%"
1717ALIGN="LEFT"
1718VALIGN="TOP"
1719> an XML parser context</TD
1720></TR
1721></TABLE
1722><P
1723></P
1724></DIV
1725></DIV
1726><HR><DIV
1727CLASS="REFSECT2"
1728><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001729NAME="AEN4845"
Daniel Veillard35925471999-02-25 08:46:07 +00001730></A
1731><H3
1732><A
1733NAME="XMLHANDLEENTITY"
1734></A
1735>xmlHandleEntity()</H3
1736><TABLE
1737BORDER="0"
1738BGCOLOR="#E8E8F8"
1739WIDTH="100%"
1740CELLPADDING="6"
1741><TR
1742><TD
1743><PRE
1744CLASS="PROGRAMLISTING"
1745>void xmlHandleEntity (<A
1746HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1747>xmlParserCtxtPtr</A
1748> ctxt,
1749 <A
1750HREF="gnome-xml-entities.html#XMLENTITYPTR"
1751>xmlEntityPtr</A
1752> entity);</PRE
1753></TD
1754></TR
1755></TABLE
1756><P
1757>Default handling of defined entities, when should we define a new input
1758stream ? When do we just handle that as a set of chars ?
1759TODO: we should call the SAX handler here and have it resolve the issue</P
1760><P
1761></P
1762><DIV
1763CLASS="INFORMALTABLE"
1764><P
1765></P
1766><TABLE
1767BORDER="0"
1768WIDTH="100%"
1769BGCOLOR="#FFE0E0"
1770CELLSPACING="0"
1771CELLPADDING="4"
1772CLASS="CALSTABLE"
1773><TR
1774><TD
1775WIDTH="20%"
1776ALIGN="RIGHT"
1777VALIGN="TOP"
1778><TT
1779CLASS="PARAMETER"
1780><I
1781>ctxt</I
1782></TT
1783>&nbsp;:</TD
1784><TD
1785WIDTH="80%"
1786ALIGN="LEFT"
1787VALIGN="TOP"
1788> an XML parser context</TD
1789></TR
1790><TR
1791><TD
1792WIDTH="20%"
1793ALIGN="RIGHT"
1794VALIGN="TOP"
1795><TT
1796CLASS="PARAMETER"
1797><I
1798>entity</I
1799></TT
1800>&nbsp;:</TD
1801><TD
1802WIDTH="80%"
1803ALIGN="LEFT"
1804VALIGN="TOP"
1805> an XML entity pointer.</TD
1806></TR
1807></TABLE
1808><P
1809></P
1810></DIV
1811></DIV
1812><HR><DIV
1813CLASS="REFSECT2"
1814><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001815NAME="AEN4866"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001816></A
1817><H3
1818><A
1819NAME="XMLNEWENTITYINPUTSTREAM"
1820></A
1821>xmlNewEntityInputStream()</H3
1822><TABLE
1823BORDER="0"
1824BGCOLOR="#E8E8F8"
1825WIDTH="100%"
1826CELLPADDING="6"
1827><TR
1828><TD
1829><PRE
1830CLASS="PROGRAMLISTING"
1831><A
1832HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1833>xmlParserInputPtr</A
1834> xmlNewEntityInputStream (<A
1835HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1836>xmlParserCtxtPtr</A
1837> ctxt,
1838 <A
1839HREF="gnome-xml-entities.html#XMLENTITYPTR"
1840>xmlEntityPtr</A
1841> entity);</PRE
1842></TD
1843></TR
1844></TABLE
1845><P
1846>Create a new input stream based on a memory buffer.</P
1847><P
1848></P
1849><DIV
1850CLASS="INFORMALTABLE"
1851><P
1852></P
1853><TABLE
1854BORDER="0"
1855WIDTH="100%"
1856BGCOLOR="#FFE0E0"
1857CELLSPACING="0"
1858CELLPADDING="4"
1859CLASS="CALSTABLE"
1860><TR
1861><TD
1862WIDTH="20%"
1863ALIGN="RIGHT"
1864VALIGN="TOP"
1865><TT
1866CLASS="PARAMETER"
1867><I
1868>ctxt</I
1869></TT
1870>&nbsp;:</TD
1871><TD
1872WIDTH="80%"
1873ALIGN="LEFT"
1874VALIGN="TOP"
1875>&nbsp;</TD
1876></TR
1877><TR
1878><TD
1879WIDTH="20%"
1880ALIGN="RIGHT"
1881VALIGN="TOP"
1882><TT
1883CLASS="PARAMETER"
1884><I
1885>entity</I
1886></TT
1887>&nbsp;:</TD
1888><TD
1889WIDTH="80%"
1890ALIGN="LEFT"
1891VALIGN="TOP"
1892>&nbsp;</TD
1893></TR
1894><TR
1895><TD
1896WIDTH="20%"
1897ALIGN="RIGHT"
1898VALIGN="TOP"
1899><I
1900CLASS="EMPHASIS"
1901>Returns</I
1902> :</TD
1903><TD
1904WIDTH="80%"
1905ALIGN="LEFT"
1906VALIGN="TOP"
1907>&nbsp;</TD
1908></TR
1909></TABLE
1910><P
1911></P
1912></DIV
1913></DIV
1914><HR><DIV
1915CLASS="REFSECT2"
1916><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00001917NAME="AEN4892"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001918></A
1919><H3
1920><A
1921NAME="XMLPUSHINPUT"
1922></A
1923>xmlPushInput()</H3
1924><TABLE
1925BORDER="0"
1926BGCOLOR="#E8E8F8"
1927WIDTH="100%"
1928CELLPADDING="6"
1929><TR
1930><TD
1931><PRE
1932CLASS="PROGRAMLISTING"
1933>void xmlPushInput (<A
1934HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1935>xmlParserCtxtPtr</A
1936> ctxt,
1937 <A
1938HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1939>xmlParserInputPtr</A
1940> input);</PRE
1941></TD
1942></TR
1943></TABLE
1944><P
1945>xmlPushInput: switch to a new input stream which is stacked on top
1946of the previous one(s).</P
1947><P
1948></P
1949><DIV
1950CLASS="INFORMALTABLE"
1951><P
1952></P
1953><TABLE
1954BORDER="0"
1955WIDTH="100%"
1956BGCOLOR="#FFE0E0"
1957CELLSPACING="0"
1958CELLPADDING="4"
1959CLASS="CALSTABLE"
1960><TR
1961><TD
1962WIDTH="20%"
1963ALIGN="RIGHT"
1964VALIGN="TOP"
1965><TT
1966CLASS="PARAMETER"
1967><I
1968>ctxt</I
1969></TT
1970>&nbsp;:</TD
1971><TD
1972WIDTH="80%"
1973ALIGN="LEFT"
1974VALIGN="TOP"
1975> an XML parser context</TD
1976></TR
1977><TR
1978><TD
1979WIDTH="20%"
1980ALIGN="RIGHT"
1981VALIGN="TOP"
1982><TT
1983CLASS="PARAMETER"
1984><I
1985>input</I
1986></TT
1987>&nbsp;:</TD
1988><TD
1989WIDTH="80%"
1990ALIGN="LEFT"
1991VALIGN="TOP"
1992> an XML parser input fragment (entity, XML fragment ...).</TD
1993></TR
1994></TABLE
1995><P
1996></P
1997></DIV
1998></DIV
1999><HR><DIV
2000CLASS="REFSECT2"
2001><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002002NAME="AEN4913"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002003></A
2004><H3
2005><A
2006NAME="XMLPOPINPUT"
2007></A
2008>xmlPopInput()</H3
2009><TABLE
2010BORDER="0"
2011BGCOLOR="#E8E8F8"
2012WIDTH="100%"
2013CELLPADDING="6"
2014><TR
2015><TD
2016><PRE
2017CLASS="PROGRAMLISTING"
2018><A
2019HREF="gnome-xml-tree.html#CHAR"
2020>CHAR</A
2021> xmlPopInput (<A
2022HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2023>xmlParserCtxtPtr</A
2024> ctxt);</PRE
2025></TD
2026></TR
2027></TABLE
2028><P
2029>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2030pop it and return the next char.</P
2031><P
2032>TODO A deallocation of the popped Input structure is needed</P
2033><P
2034></P
2035><DIV
2036CLASS="INFORMALTABLE"
2037><P
2038></P
2039><TABLE
2040BORDER="0"
2041WIDTH="100%"
2042BGCOLOR="#FFE0E0"
2043CELLSPACING="0"
2044CELLPADDING="4"
2045CLASS="CALSTABLE"
2046><TR
2047><TD
2048WIDTH="20%"
2049ALIGN="RIGHT"
2050VALIGN="TOP"
2051><TT
2052CLASS="PARAMETER"
2053><I
2054>ctxt</I
2055></TT
2056>&nbsp;:</TD
2057><TD
2058WIDTH="80%"
2059ALIGN="LEFT"
2060VALIGN="TOP"
2061> an XML parser context</TD
2062></TR
2063><TR
2064><TD
2065WIDTH="20%"
2066ALIGN="RIGHT"
2067VALIGN="TOP"
2068><I
2069CLASS="EMPHASIS"
2070>Returns</I
2071> :</TD
2072><TD
2073WIDTH="80%"
2074ALIGN="LEFT"
2075VALIGN="TOP"
2076>the current CHAR in the parser context</TD
2077></TR
2078></TABLE
2079><P
2080></P
2081></DIV
2082></DIV
2083><HR><DIV
2084CLASS="REFSECT2"
2085><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002086NAME="AEN4935"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002087></A
2088><H3
2089><A
2090NAME="XMLFREEINPUTSTREAM"
2091></A
2092>xmlFreeInputStream()</H3
2093><TABLE
2094BORDER="0"
2095BGCOLOR="#E8E8F8"
2096WIDTH="100%"
2097CELLPADDING="6"
2098><TR
2099><TD
2100><PRE
2101CLASS="PROGRAMLISTING"
2102>void xmlFreeInputStream (<A
2103HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2104>xmlParserInputPtr</A
2105> input);</PRE
2106></TD
2107></TR
2108></TABLE
2109><P
2110>Free up an input stream.</P
2111><P
2112></P
2113><DIV
2114CLASS="INFORMALTABLE"
2115><P
2116></P
2117><TABLE
2118BORDER="0"
2119WIDTH="100%"
2120BGCOLOR="#FFE0E0"
2121CELLSPACING="0"
2122CELLPADDING="4"
2123CLASS="CALSTABLE"
2124><TR
2125><TD
2126WIDTH="20%"
2127ALIGN="RIGHT"
2128VALIGN="TOP"
2129><TT
2130CLASS="PARAMETER"
2131><I
2132>input</I
2133></TT
2134>&nbsp;:</TD
2135><TD
2136WIDTH="80%"
2137ALIGN="LEFT"
2138VALIGN="TOP"
2139> an xmlParserInputPtr</TD
2140></TR
2141></TABLE
2142><P
2143></P
2144></DIV
2145></DIV
2146><HR><DIV
2147CLASS="REFSECT2"
2148><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002149NAME="AEN4951"
2150></A
2151><H3
2152><A
2153NAME="XMLSPLITQNAME"
2154></A
2155>xmlSplitQName()</H3
2156><TABLE
2157BORDER="0"
2158BGCOLOR="#E8E8F8"
2159WIDTH="100%"
2160CELLPADDING="6"
2161><TR
2162><TD
2163><PRE
2164CLASS="PROGRAMLISTING"
2165><A
2166HREF="gnome-xml-tree.html#CHAR"
2167>CHAR</A
2168>* xmlSplitQName (const <A
2169HREF="gnome-xml-tree.html#CHAR"
2170>CHAR</A
2171> *name,
2172 <A
2173HREF="gnome-xml-tree.html#CHAR"
2174>CHAR</A
2175> **prefix);</PRE
2176></TD
2177></TR
2178></TABLE
2179><P
2180>parse an XML qualified name string</P
2181><P
2182>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2183><P
2184>[NS 6] Prefix ::= NCName</P
2185><P
2186>[NS 7] LocalPart ::= NCName</P
2187><P
2188></P
2189><DIV
2190CLASS="INFORMALTABLE"
2191><P
2192></P
2193><TABLE
2194BORDER="0"
2195WIDTH="100%"
2196BGCOLOR="#FFE0E0"
2197CELLSPACING="0"
2198CELLPADDING="4"
2199CLASS="CALSTABLE"
2200><TR
2201><TD
2202WIDTH="20%"
2203ALIGN="RIGHT"
2204VALIGN="TOP"
2205><TT
2206CLASS="PARAMETER"
2207><I
2208>name</I
2209></TT
2210>&nbsp;:</TD
2211><TD
2212WIDTH="80%"
2213ALIGN="LEFT"
2214VALIGN="TOP"
2215> an XML parser context</TD
2216></TR
2217><TR
2218><TD
2219WIDTH="20%"
2220ALIGN="RIGHT"
2221VALIGN="TOP"
2222><TT
2223CLASS="PARAMETER"
2224><I
2225>prefix</I
2226></TT
2227>&nbsp;:</TD
2228><TD
2229WIDTH="80%"
2230ALIGN="LEFT"
2231VALIGN="TOP"
2232> a CHAR ** </TD
2233></TR
2234><TR
2235><TD
2236WIDTH="20%"
2237ALIGN="RIGHT"
2238VALIGN="TOP"
2239><I
2240CLASS="EMPHASIS"
2241>Returns</I
2242> :</TD
2243><TD
2244WIDTH="80%"
2245ALIGN="LEFT"
2246VALIGN="TOP"
2247>the function returns the local part, and prefix is updated
2248to get the Prefix if any.</TD
2249></TR
2250></TABLE
2251><P
2252></P
2253></DIV
2254></DIV
2255><HR><DIV
2256CLASS="REFSECT2"
2257><A
2258NAME="AEN4980"
Daniel Veillard35925471999-02-25 08:46:07 +00002259></A
2260><H3
2261><A
2262NAME="XMLNAMESPACEPARSENCNAME"
2263></A
2264>xmlNamespaceParseNCName()</H3
2265><TABLE
2266BORDER="0"
2267BGCOLOR="#E8E8F8"
2268WIDTH="100%"
2269CELLPADDING="6"
2270><TR
2271><TD
2272><PRE
2273CLASS="PROGRAMLISTING"
2274><A
2275HREF="gnome-xml-tree.html#CHAR"
2276>CHAR</A
2277>* xmlNamespaceParseNCName (<A
2278HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2279>xmlParserCtxtPtr</A
2280> ctxt);</PRE
2281></TD
2282></TR
2283></TABLE
2284><P
2285>parse an XML namespace name.</P
2286><P
2287>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2288><P
2289>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2290CombiningChar | Extender</P
2291><P
2292></P
2293><DIV
2294CLASS="INFORMALTABLE"
2295><P
2296></P
2297><TABLE
2298BORDER="0"
2299WIDTH="100%"
2300BGCOLOR="#FFE0E0"
2301CELLSPACING="0"
2302CELLPADDING="4"
2303CLASS="CALSTABLE"
2304><TR
2305><TD
2306WIDTH="20%"
2307ALIGN="RIGHT"
2308VALIGN="TOP"
2309><TT
2310CLASS="PARAMETER"
2311><I
2312>ctxt</I
2313></TT
2314>&nbsp;:</TD
2315><TD
2316WIDTH="80%"
2317ALIGN="LEFT"
2318VALIGN="TOP"
2319> an XML parser context</TD
2320></TR
2321><TR
2322><TD
2323WIDTH="20%"
2324ALIGN="RIGHT"
2325VALIGN="TOP"
2326><I
2327CLASS="EMPHASIS"
2328>Returns</I
2329> :</TD
2330><TD
2331WIDTH="80%"
2332ALIGN="LEFT"
2333VALIGN="TOP"
2334>the namespace name or NULL</TD
2335></TR
2336></TABLE
2337><P
2338></P
2339></DIV
2340></DIV
2341><HR><DIV
2342CLASS="REFSECT2"
2343><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002344NAME="AEN5003"
Daniel Veillard35925471999-02-25 08:46:07 +00002345></A
2346><H3
2347><A
2348NAME="XMLNAMESPACEPARSEQNAME"
2349></A
2350>xmlNamespaceParseQName()</H3
2351><TABLE
2352BORDER="0"
2353BGCOLOR="#E8E8F8"
2354WIDTH="100%"
2355CELLPADDING="6"
2356><TR
2357><TD
2358><PRE
2359CLASS="PROGRAMLISTING"
2360><A
2361HREF="gnome-xml-tree.html#CHAR"
2362>CHAR</A
2363>* xmlNamespaceParseQName (<A
2364HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2365>xmlParserCtxtPtr</A
2366> ctxt,
2367 <A
2368HREF="gnome-xml-tree.html#CHAR"
2369>CHAR</A
2370> **prefix);</PRE
2371></TD
2372></TR
2373></TABLE
2374><P
2375>parse an XML qualified name</P
2376><P
2377>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2378><P
2379>[NS 6] Prefix ::= NCName</P
2380><P
2381>[NS 7] LocalPart ::= NCName</P
2382><P
2383></P
2384><DIV
2385CLASS="INFORMALTABLE"
2386><P
2387></P
2388><TABLE
2389BORDER="0"
2390WIDTH="100%"
2391BGCOLOR="#FFE0E0"
2392CELLSPACING="0"
2393CELLPADDING="4"
2394CLASS="CALSTABLE"
2395><TR
2396><TD
2397WIDTH="20%"
2398ALIGN="RIGHT"
2399VALIGN="TOP"
2400><TT
2401CLASS="PARAMETER"
2402><I
2403>ctxt</I
2404></TT
2405>&nbsp;:</TD
2406><TD
2407WIDTH="80%"
2408ALIGN="LEFT"
2409VALIGN="TOP"
2410> an XML parser context</TD
2411></TR
2412><TR
2413><TD
2414WIDTH="20%"
2415ALIGN="RIGHT"
2416VALIGN="TOP"
2417><TT
2418CLASS="PARAMETER"
2419><I
2420>prefix</I
2421></TT
2422>&nbsp;:</TD
2423><TD
2424WIDTH="80%"
2425ALIGN="LEFT"
2426VALIGN="TOP"
2427> a CHAR ** </TD
2428></TR
2429><TR
2430><TD
2431WIDTH="20%"
2432ALIGN="RIGHT"
2433VALIGN="TOP"
2434><I
2435CLASS="EMPHASIS"
2436>Returns</I
2437> :</TD
2438><TD
2439WIDTH="80%"
2440ALIGN="LEFT"
2441VALIGN="TOP"
2442>the function returns the local part, and prefix is updated
2443to get the Prefix if any.</TD
2444></TR
2445></TABLE
2446><P
2447></P
2448></DIV
2449></DIV
2450><HR><DIV
2451CLASS="REFSECT2"
2452><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002453NAME="AEN5032"
Daniel Veillard35925471999-02-25 08:46:07 +00002454></A
2455><H3
2456><A
2457NAME="XMLNAMESPACEPARSENSDEF"
2458></A
2459>xmlNamespaceParseNSDef()</H3
2460><TABLE
2461BORDER="0"
2462BGCOLOR="#E8E8F8"
2463WIDTH="100%"
2464CELLPADDING="6"
2465><TR
2466><TD
2467><PRE
2468CLASS="PROGRAMLISTING"
2469><A
2470HREF="gnome-xml-tree.html#CHAR"
2471>CHAR</A
2472>* xmlNamespaceParseNSDef (<A
2473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2474>xmlParserCtxtPtr</A
2475> ctxt);</PRE
2476></TD
2477></TR
2478></TABLE
2479><P
2480>parse a namespace prefix declaration</P
2481><P
2482>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
2483><P
2484>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
2485><P
2486></P
2487><DIV
2488CLASS="INFORMALTABLE"
2489><P
2490></P
2491><TABLE
2492BORDER="0"
2493WIDTH="100%"
2494BGCOLOR="#FFE0E0"
2495CELLSPACING="0"
2496CELLPADDING="4"
2497CLASS="CALSTABLE"
2498><TR
2499><TD
2500WIDTH="20%"
2501ALIGN="RIGHT"
2502VALIGN="TOP"
2503><TT
2504CLASS="PARAMETER"
2505><I
2506>ctxt</I
2507></TT
2508>&nbsp;:</TD
2509><TD
2510WIDTH="80%"
2511ALIGN="LEFT"
2512VALIGN="TOP"
2513> an XML parser context</TD
2514></TR
2515><TR
2516><TD
2517WIDTH="20%"
2518ALIGN="RIGHT"
2519VALIGN="TOP"
2520><I
2521CLASS="EMPHASIS"
2522>Returns</I
2523> :</TD
2524><TD
2525WIDTH="80%"
2526ALIGN="LEFT"
2527VALIGN="TOP"
2528>the namespace name</TD
2529></TR
2530></TABLE
2531><P
2532></P
2533></DIV
2534></DIV
2535><HR><DIV
2536CLASS="REFSECT2"
2537><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002538NAME="AEN5055"
Daniel Veillard35925471999-02-25 08:46:07 +00002539></A
2540><H3
2541><A
2542NAME="XMLPARSEQUOTEDSTRING"
2543></A
2544>xmlParseQuotedString()</H3
2545><TABLE
2546BORDER="0"
2547BGCOLOR="#E8E8F8"
2548WIDTH="100%"
2549CELLPADDING="6"
2550><TR
2551><TD
2552><PRE
2553CLASS="PROGRAMLISTING"
2554><A
2555HREF="gnome-xml-tree.html#CHAR"
2556>CHAR</A
2557>* xmlParseQuotedString (<A
2558HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2559>xmlParserCtxtPtr</A
2560> ctxt);</PRE
2561></TD
2562></TR
2563></TABLE
2564><P
2565>[OLD] Parse and return a string between quotes or doublequotes</P
2566><P
2567></P
2568><DIV
2569CLASS="INFORMALTABLE"
2570><P
2571></P
2572><TABLE
2573BORDER="0"
2574WIDTH="100%"
2575BGCOLOR="#FFE0E0"
2576CELLSPACING="0"
2577CELLPADDING="4"
2578CLASS="CALSTABLE"
2579><TR
2580><TD
2581WIDTH="20%"
2582ALIGN="RIGHT"
2583VALIGN="TOP"
2584><TT
2585CLASS="PARAMETER"
2586><I
2587>ctxt</I
2588></TT
2589>&nbsp;:</TD
2590><TD
2591WIDTH="80%"
2592ALIGN="LEFT"
2593VALIGN="TOP"
2594> an XML parser context</TD
2595></TR
2596><TR
2597><TD
2598WIDTH="20%"
2599ALIGN="RIGHT"
2600VALIGN="TOP"
2601><I
2602CLASS="EMPHASIS"
2603>Returns</I
2604> :</TD
2605><TD
2606WIDTH="80%"
2607ALIGN="LEFT"
2608VALIGN="TOP"
2609>the string parser or NULL.</TD
2610></TR
2611></TABLE
2612><P
2613></P
2614></DIV
2615></DIV
2616><HR><DIV
2617CLASS="REFSECT2"
2618><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002619NAME="AEN5076"
Daniel Veillard35925471999-02-25 08:46:07 +00002620></A
2621><H3
2622><A
2623NAME="XMLPARSENAMESPACE"
2624></A
2625>xmlParseNamespace()</H3
2626><TABLE
2627BORDER="0"
2628BGCOLOR="#E8E8F8"
2629WIDTH="100%"
2630CELLPADDING="6"
2631><TR
2632><TD
2633><PRE
2634CLASS="PROGRAMLISTING"
2635>void xmlParseNamespace (<A
2636HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2637>xmlParserCtxtPtr</A
2638> ctxt);</PRE
2639></TD
2640></TR
2641></TABLE
2642><P
2643>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
2644><P
2645>This is what the older xml-name Working Draft specified, a bunch of
2646other stuff may still rely on it, so support is still here as
2647if ot was declared on the root of the Tree:-(</P
2648><P
2649></P
2650><DIV
2651CLASS="INFORMALTABLE"
2652><P
2653></P
2654><TABLE
2655BORDER="0"
2656WIDTH="100%"
2657BGCOLOR="#FFE0E0"
2658CELLSPACING="0"
2659CELLPADDING="4"
2660CLASS="CALSTABLE"
2661><TR
2662><TD
2663WIDTH="20%"
2664ALIGN="RIGHT"
2665VALIGN="TOP"
2666><TT
2667CLASS="PARAMETER"
2668><I
2669>ctxt</I
2670></TT
2671>&nbsp;:</TD
2672><TD
2673WIDTH="80%"
2674ALIGN="LEFT"
2675VALIGN="TOP"
2676> an XML parser context</TD
2677></TR
2678></TABLE
2679><P
2680></P
2681></DIV
2682></DIV
2683><HR><DIV
2684CLASS="REFSECT2"
2685><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002686NAME="AEN5093"
Daniel Veillard35925471999-02-25 08:46:07 +00002687></A
2688><H3
2689><A
2690NAME="XMLPARSENAME"
2691></A
2692>xmlParseName()</H3
2693><TABLE
2694BORDER="0"
2695BGCOLOR="#E8E8F8"
2696WIDTH="100%"
2697CELLPADDING="6"
2698><TR
2699><TD
2700><PRE
2701CLASS="PROGRAMLISTING"
2702><A
2703HREF="gnome-xml-tree.html#CHAR"
2704>CHAR</A
2705>* xmlParseName (<A
2706HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2707>xmlParserCtxtPtr</A
2708> ctxt);</PRE
2709></TD
2710></TR
2711></TABLE
2712><P
2713>parse an XML name.</P
2714><P
2715>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
2716CombiningChar | Extender</P
2717><P
2718>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
2719><P
2720>[6] Names ::= Name (S Name)*</P
2721><P
2722></P
2723><DIV
2724CLASS="INFORMALTABLE"
2725><P
2726></P
2727><TABLE
2728BORDER="0"
2729WIDTH="100%"
2730BGCOLOR="#FFE0E0"
2731CELLSPACING="0"
2732CELLPADDING="4"
2733CLASS="CALSTABLE"
2734><TR
2735><TD
2736WIDTH="20%"
2737ALIGN="RIGHT"
2738VALIGN="TOP"
2739><TT
2740CLASS="PARAMETER"
2741><I
2742>ctxt</I
2743></TT
2744>&nbsp;:</TD
2745><TD
2746WIDTH="80%"
2747ALIGN="LEFT"
2748VALIGN="TOP"
2749> an XML parser context</TD
2750></TR
2751><TR
2752><TD
2753WIDTH="20%"
2754ALIGN="RIGHT"
2755VALIGN="TOP"
2756><I
2757CLASS="EMPHASIS"
2758>Returns</I
2759> :</TD
2760><TD
2761WIDTH="80%"
2762ALIGN="LEFT"
2763VALIGN="TOP"
2764>the Name parsed or NULL</TD
2765></TR
2766></TABLE
2767><P
2768></P
2769></DIV
2770></DIV
2771><HR><DIV
2772CLASS="REFSECT2"
2773><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002774NAME="AEN5117"
Daniel Veillard35925471999-02-25 08:46:07 +00002775></A
2776><H3
2777><A
2778NAME="XMLPARSENMTOKEN"
2779></A
2780>xmlParseNmtoken()</H3
2781><TABLE
2782BORDER="0"
2783BGCOLOR="#E8E8F8"
2784WIDTH="100%"
2785CELLPADDING="6"
2786><TR
2787><TD
2788><PRE
2789CLASS="PROGRAMLISTING"
2790><A
2791HREF="gnome-xml-tree.html#CHAR"
2792>CHAR</A
2793>* xmlParseNmtoken (<A
2794HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2795>xmlParserCtxtPtr</A
2796> ctxt);</PRE
2797></TD
2798></TR
2799></TABLE
2800><P
2801>parse an XML Nmtoken.</P
2802><P
2803>[7] Nmtoken ::= (NameChar)+</P
2804><P
2805>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
2806><P
2807></P
2808><DIV
2809CLASS="INFORMALTABLE"
2810><P
2811></P
2812><TABLE
2813BORDER="0"
2814WIDTH="100%"
2815BGCOLOR="#FFE0E0"
2816CELLSPACING="0"
2817CELLPADDING="4"
2818CLASS="CALSTABLE"
2819><TR
2820><TD
2821WIDTH="20%"
2822ALIGN="RIGHT"
2823VALIGN="TOP"
2824><TT
2825CLASS="PARAMETER"
2826><I
2827>ctxt</I
2828></TT
2829>&nbsp;:</TD
2830><TD
2831WIDTH="80%"
2832ALIGN="LEFT"
2833VALIGN="TOP"
2834> an XML parser context</TD
2835></TR
2836><TR
2837><TD
2838WIDTH="20%"
2839ALIGN="RIGHT"
2840VALIGN="TOP"
2841><I
2842CLASS="EMPHASIS"
2843>Returns</I
2844> :</TD
2845><TD
2846WIDTH="80%"
2847ALIGN="LEFT"
2848VALIGN="TOP"
2849>the Nmtoken parsed or NULL</TD
2850></TR
2851></TABLE
2852><P
2853></P
2854></DIV
2855></DIV
2856><HR><DIV
2857CLASS="REFSECT2"
2858><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002859NAME="AEN5140"
Daniel Veillard35925471999-02-25 08:46:07 +00002860></A
2861><H3
2862><A
2863NAME="XMLPARSEENTITYVALUE"
2864></A
2865>xmlParseEntityValue()</H3
2866><TABLE
2867BORDER="0"
2868BGCOLOR="#E8E8F8"
2869WIDTH="100%"
2870CELLPADDING="6"
2871><TR
2872><TD
2873><PRE
2874CLASS="PROGRAMLISTING"
2875><A
2876HREF="gnome-xml-tree.html#CHAR"
2877>CHAR</A
2878>* xmlParseEntityValue (<A
2879HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2880>xmlParserCtxtPtr</A
2881> ctxt);</PRE
2882></TD
2883></TR
2884></TABLE
2885><P
2886>parse a value for ENTITY decl.</P
2887><P
2888>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
2889"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
2890><P
2891></P
2892><DIV
2893CLASS="INFORMALTABLE"
2894><P
2895></P
2896><TABLE
2897BORDER="0"
2898WIDTH="100%"
2899BGCOLOR="#FFE0E0"
2900CELLSPACING="0"
2901CELLPADDING="4"
2902CLASS="CALSTABLE"
2903><TR
2904><TD
2905WIDTH="20%"
2906ALIGN="RIGHT"
2907VALIGN="TOP"
2908><TT
2909CLASS="PARAMETER"
2910><I
2911>ctxt</I
2912></TT
2913>&nbsp;:</TD
2914><TD
2915WIDTH="80%"
2916ALIGN="LEFT"
2917VALIGN="TOP"
2918> an XML parser context</TD
2919></TR
2920><TR
2921><TD
2922WIDTH="20%"
2923ALIGN="RIGHT"
2924VALIGN="TOP"
2925><I
2926CLASS="EMPHASIS"
2927>Returns</I
2928> :</TD
2929><TD
2930WIDTH="80%"
2931ALIGN="LEFT"
2932VALIGN="TOP"
2933>the EntityValue parsed or NULL</TD
2934></TR
2935></TABLE
2936><P
2937></P
2938></DIV
2939></DIV
2940><HR><DIV
2941CLASS="REFSECT2"
2942><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00002943NAME="AEN5162"
Daniel Veillard35925471999-02-25 08:46:07 +00002944></A
2945><H3
2946><A
2947NAME="XMLPARSEATTVALUE"
2948></A
2949>xmlParseAttValue()</H3
2950><TABLE
2951BORDER="0"
2952BGCOLOR="#E8E8F8"
2953WIDTH="100%"
2954CELLPADDING="6"
2955><TR
2956><TD
2957><PRE
2958CLASS="PROGRAMLISTING"
2959><A
2960HREF="gnome-xml-tree.html#CHAR"
2961>CHAR</A
2962>* xmlParseAttValue (<A
2963HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2964>xmlParserCtxtPtr</A
2965> ctxt);</PRE
2966></TD
2967></TR
2968></TABLE
2969><P
2970>parse a value for an attribute</P
2971><P
2972>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
2973"'" ([^&lt;&amp;'] | Reference)* "'"</P
2974><P
2975></P
2976><DIV
2977CLASS="INFORMALTABLE"
2978><P
2979></P
2980><TABLE
2981BORDER="0"
2982WIDTH="100%"
2983BGCOLOR="#FFE0E0"
2984CELLSPACING="0"
2985CELLPADDING="4"
2986CLASS="CALSTABLE"
2987><TR
2988><TD
2989WIDTH="20%"
2990ALIGN="RIGHT"
2991VALIGN="TOP"
2992><TT
2993CLASS="PARAMETER"
2994><I
2995>ctxt</I
2996></TT
2997>&nbsp;:</TD
2998><TD
2999WIDTH="80%"
3000ALIGN="LEFT"
3001VALIGN="TOP"
3002> an XML parser context</TD
3003></TR
3004><TR
3005><TD
3006WIDTH="20%"
3007ALIGN="RIGHT"
3008VALIGN="TOP"
3009><I
3010CLASS="EMPHASIS"
3011>Returns</I
3012> :</TD
3013><TD
3014WIDTH="80%"
3015ALIGN="LEFT"
3016VALIGN="TOP"
3017>the AttValue parsed or NULL.</TD
3018></TR
3019></TABLE
3020><P
3021></P
3022></DIV
3023></DIV
3024><HR><DIV
3025CLASS="REFSECT2"
3026><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003027NAME="AEN5184"
Daniel Veillard35925471999-02-25 08:46:07 +00003028></A
3029><H3
3030><A
3031NAME="XMLPARSESYSTEMLITERAL"
3032></A
3033>xmlParseSystemLiteral()</H3
3034><TABLE
3035BORDER="0"
3036BGCOLOR="#E8E8F8"
3037WIDTH="100%"
3038CELLPADDING="6"
3039><TR
3040><TD
3041><PRE
3042CLASS="PROGRAMLISTING"
3043><A
3044HREF="gnome-xml-tree.html#CHAR"
3045>CHAR</A
3046>* xmlParseSystemLiteral (<A
3047HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3048>xmlParserCtxtPtr</A
3049> ctxt);</PRE
3050></TD
3051></TR
3052></TABLE
3053><P
3054>parse an XML Literal</P
3055><P
3056>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3057><P
3058></P
3059><DIV
3060CLASS="INFORMALTABLE"
3061><P
3062></P
3063><TABLE
3064BORDER="0"
3065WIDTH="100%"
3066BGCOLOR="#FFE0E0"
3067CELLSPACING="0"
3068CELLPADDING="4"
3069CLASS="CALSTABLE"
3070><TR
3071><TD
3072WIDTH="20%"
3073ALIGN="RIGHT"
3074VALIGN="TOP"
3075><TT
3076CLASS="PARAMETER"
3077><I
3078>ctxt</I
3079></TT
3080>&nbsp;:</TD
3081><TD
3082WIDTH="80%"
3083ALIGN="LEFT"
3084VALIGN="TOP"
3085> an XML parser context</TD
3086></TR
3087><TR
3088><TD
3089WIDTH="20%"
3090ALIGN="RIGHT"
3091VALIGN="TOP"
3092><I
3093CLASS="EMPHASIS"
3094>Returns</I
3095> :</TD
3096><TD
3097WIDTH="80%"
3098ALIGN="LEFT"
3099VALIGN="TOP"
3100>the SystemLiteral parsed or NULL</TD
3101></TR
3102></TABLE
3103><P
3104></P
3105></DIV
3106></DIV
3107><HR><DIV
3108CLASS="REFSECT2"
3109><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003110NAME="AEN5206"
Daniel Veillard35925471999-02-25 08:46:07 +00003111></A
3112><H3
3113><A
3114NAME="XMLPARSEPUBIDLITERAL"
3115></A
3116>xmlParsePubidLiteral()</H3
3117><TABLE
3118BORDER="0"
3119BGCOLOR="#E8E8F8"
3120WIDTH="100%"
3121CELLPADDING="6"
3122><TR
3123><TD
3124><PRE
3125CLASS="PROGRAMLISTING"
3126><A
3127HREF="gnome-xml-tree.html#CHAR"
3128>CHAR</A
3129>* xmlParsePubidLiteral (<A
3130HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3131>xmlParserCtxtPtr</A
3132> ctxt);</PRE
3133></TD
3134></TR
3135></TABLE
3136><P
3137>parse an XML public literal</P
3138><P
3139>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3140><P
3141></P
3142><DIV
3143CLASS="INFORMALTABLE"
3144><P
3145></P
3146><TABLE
3147BORDER="0"
3148WIDTH="100%"
3149BGCOLOR="#FFE0E0"
3150CELLSPACING="0"
3151CELLPADDING="4"
3152CLASS="CALSTABLE"
3153><TR
3154><TD
3155WIDTH="20%"
3156ALIGN="RIGHT"
3157VALIGN="TOP"
3158><TT
3159CLASS="PARAMETER"
3160><I
3161>ctxt</I
3162></TT
3163>&nbsp;:</TD
3164><TD
3165WIDTH="80%"
3166ALIGN="LEFT"
3167VALIGN="TOP"
3168> an XML parser context</TD
3169></TR
3170><TR
3171><TD
3172WIDTH="20%"
3173ALIGN="RIGHT"
3174VALIGN="TOP"
3175><I
3176CLASS="EMPHASIS"
3177>Returns</I
3178> :</TD
3179><TD
3180WIDTH="80%"
3181ALIGN="LEFT"
3182VALIGN="TOP"
3183>the PubidLiteral parsed or NULL.</TD
3184></TR
3185></TABLE
3186><P
3187></P
3188></DIV
3189></DIV
3190><HR><DIV
3191CLASS="REFSECT2"
3192><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003193NAME="AEN5228"
Daniel Veillard35925471999-02-25 08:46:07 +00003194></A
3195><H3
3196><A
3197NAME="XMLPARSECHARDATA"
3198></A
3199>xmlParseCharData()</H3
3200><TABLE
3201BORDER="0"
3202BGCOLOR="#E8E8F8"
3203WIDTH="100%"
3204CELLPADDING="6"
3205><TR
3206><TD
3207><PRE
3208CLASS="PROGRAMLISTING"
3209>void xmlParseCharData (<A
3210HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3211>xmlParserCtxtPtr</A
3212> ctxt,
3213 int cdata);</PRE
3214></TD
3215></TR
3216></TABLE
3217><P
3218>parse a CharData section.
3219if we are within a CDATA section ']]&gt;' marks an end of section.</P
3220><P
3221>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3222><P
3223></P
3224><DIV
3225CLASS="INFORMALTABLE"
3226><P
3227></P
3228><TABLE
3229BORDER="0"
3230WIDTH="100%"
3231BGCOLOR="#FFE0E0"
3232CELLSPACING="0"
3233CELLPADDING="4"
3234CLASS="CALSTABLE"
3235><TR
3236><TD
3237WIDTH="20%"
3238ALIGN="RIGHT"
3239VALIGN="TOP"
3240><TT
3241CLASS="PARAMETER"
3242><I
3243>ctxt</I
3244></TT
3245>&nbsp;:</TD
3246><TD
3247WIDTH="80%"
3248ALIGN="LEFT"
3249VALIGN="TOP"
3250> an XML parser context</TD
3251></TR
3252><TR
3253><TD
3254WIDTH="20%"
3255ALIGN="RIGHT"
3256VALIGN="TOP"
3257><TT
3258CLASS="PARAMETER"
3259><I
3260>cdata</I
3261></TT
3262>&nbsp;:</TD
3263><TD
3264WIDTH="80%"
3265ALIGN="LEFT"
3266VALIGN="TOP"
3267> int indicating whether we are within a CDATA section</TD
3268></TR
3269></TABLE
3270><P
3271></P
3272></DIV
3273></DIV
3274><HR><DIV
3275CLASS="REFSECT2"
3276><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003277NAME="AEN5249"
Daniel Veillard35925471999-02-25 08:46:07 +00003278></A
3279><H3
3280><A
3281NAME="XMLPARSEEXTERNALID"
3282></A
3283>xmlParseExternalID()</H3
3284><TABLE
3285BORDER="0"
3286BGCOLOR="#E8E8F8"
3287WIDTH="100%"
3288CELLPADDING="6"
3289><TR
3290><TD
3291><PRE
3292CLASS="PROGRAMLISTING"
3293><A
3294HREF="gnome-xml-tree.html#CHAR"
3295>CHAR</A
3296>* xmlParseExternalID (<A
3297HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3298>xmlParserCtxtPtr</A
3299> ctxt,
3300 <A
3301HREF="gnome-xml-tree.html#CHAR"
3302>CHAR</A
3303> **publicID,
3304 int strict);</PRE
3305></TD
3306></TR
3307></TABLE
3308><P
3309>Parse an External ID or a Public ID</P
3310><P
3311>NOTE: Productions [75] and [83] interract badly since [75] can generate
3312'PUBLIC' S PubidLiteral S SystemLiteral</P
3313><P
3314>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
3315| 'PUBLIC' S PubidLiteral S SystemLiteral</P
3316><P
3317>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
3318><P
3319></P
3320><DIV
3321CLASS="INFORMALTABLE"
3322><P
3323></P
3324><TABLE
3325BORDER="0"
3326WIDTH="100%"
3327BGCOLOR="#FFE0E0"
3328CELLSPACING="0"
3329CELLPADDING="4"
3330CLASS="CALSTABLE"
3331><TR
3332><TD
3333WIDTH="20%"
3334ALIGN="RIGHT"
3335VALIGN="TOP"
3336><TT
3337CLASS="PARAMETER"
3338><I
3339>ctxt</I
3340></TT
3341>&nbsp;:</TD
3342><TD
3343WIDTH="80%"
3344ALIGN="LEFT"
3345VALIGN="TOP"
3346> an XML parser context</TD
3347></TR
3348><TR
3349><TD
3350WIDTH="20%"
3351ALIGN="RIGHT"
3352VALIGN="TOP"
3353><TT
3354CLASS="PARAMETER"
3355><I
3356>publicID</I
3357></TT
3358>&nbsp;:</TD
3359><TD
3360WIDTH="80%"
3361ALIGN="LEFT"
3362VALIGN="TOP"
3363> a CHAR** receiving PubidLiteral</TD
3364></TR
3365><TR
3366><TD
3367WIDTH="20%"
3368ALIGN="RIGHT"
3369VALIGN="TOP"
3370><TT
3371CLASS="PARAMETER"
3372><I
3373>strict</I
3374></TT
3375>&nbsp;:</TD
3376><TD
3377WIDTH="80%"
3378ALIGN="LEFT"
3379VALIGN="TOP"
3380> indicate whether we should restrict parsing to only
3381production [75], see NOTE below</TD
3382></TR
3383><TR
3384><TD
3385WIDTH="20%"
3386ALIGN="RIGHT"
3387VALIGN="TOP"
3388><I
3389CLASS="EMPHASIS"
3390>Returns</I
3391> :</TD
3392><TD
3393WIDTH="80%"
3394ALIGN="LEFT"
3395VALIGN="TOP"
3396>the function returns SystemLiteral and in the second
3397case publicID receives PubidLiteral, is strict is off
3398it is possible to return NULL and have publicID set.</TD
3399></TR
3400></TABLE
3401><P
3402></P
3403></DIV
3404></DIV
3405><HR><DIV
3406CLASS="REFSECT2"
3407><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003408NAME="AEN5282"
Daniel Veillard35925471999-02-25 08:46:07 +00003409></A
3410><H3
3411><A
3412NAME="XMLPARSECOMMENT"
3413></A
3414>xmlParseComment()</H3
3415><TABLE
3416BORDER="0"
3417BGCOLOR="#E8E8F8"
3418WIDTH="100%"
3419CELLPADDING="6"
3420><TR
3421><TD
3422><PRE
3423CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003424>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003425HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3426>xmlParserCtxtPtr</A
3427> ctxt,
3428 int create);</PRE
3429></TD
3430></TR
3431></TABLE
3432><P
3433>Skip an XML (SGML) comment &lt;!-- .... --&gt;
3434This may or may not create a node (depending on the context)
3435The spec says that "For compatibility, the string "--" (double-hyphen)
3436must not occur within comments. "</P
3437><P
3438>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
3439><P
Daniel Veillard35925471999-02-25 08:46:07 +00003440></P
3441><DIV
3442CLASS="INFORMALTABLE"
3443><P
3444></P
3445><TABLE
3446BORDER="0"
3447WIDTH="100%"
3448BGCOLOR="#FFE0E0"
3449CELLSPACING="0"
3450CELLPADDING="4"
3451CLASS="CALSTABLE"
3452><TR
3453><TD
3454WIDTH="20%"
3455ALIGN="RIGHT"
3456VALIGN="TOP"
3457><TT
3458CLASS="PARAMETER"
3459><I
3460>ctxt</I
3461></TT
3462>&nbsp;:</TD
3463><TD
3464WIDTH="80%"
3465ALIGN="LEFT"
3466VALIGN="TOP"
3467> an XML parser context</TD
3468></TR
3469><TR
3470><TD
3471WIDTH="20%"
3472ALIGN="RIGHT"
3473VALIGN="TOP"
3474><TT
3475CLASS="PARAMETER"
3476><I
3477>create</I
3478></TT
3479>&nbsp;:</TD
3480><TD
3481WIDTH="80%"
3482ALIGN="LEFT"
3483VALIGN="TOP"
3484> should we create a node, or just skip the content</TD
3485></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003486></TABLE
3487><P
3488></P
3489></DIV
3490></DIV
3491><HR><DIV
3492CLASS="REFSECT2"
3493><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003494NAME="AEN5303"
Daniel Veillard35925471999-02-25 08:46:07 +00003495></A
3496><H3
3497><A
3498NAME="XMLPARSEPITARGET"
3499></A
3500>xmlParsePITarget()</H3
3501><TABLE
3502BORDER="0"
3503BGCOLOR="#E8E8F8"
3504WIDTH="100%"
3505CELLPADDING="6"
3506><TR
3507><TD
3508><PRE
3509CLASS="PROGRAMLISTING"
3510><A
3511HREF="gnome-xml-tree.html#CHAR"
3512>CHAR</A
3513>* xmlParsePITarget (<A
3514HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3515>xmlParserCtxtPtr</A
3516> ctxt);</PRE
3517></TD
3518></TR
3519></TABLE
3520><P
3521>parse the name of a PI</P
3522><P
3523>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
3524><P
3525></P
3526><DIV
3527CLASS="INFORMALTABLE"
3528><P
3529></P
3530><TABLE
3531BORDER="0"
3532WIDTH="100%"
3533BGCOLOR="#FFE0E0"
3534CELLSPACING="0"
3535CELLPADDING="4"
3536CLASS="CALSTABLE"
3537><TR
3538><TD
3539WIDTH="20%"
3540ALIGN="RIGHT"
3541VALIGN="TOP"
3542><TT
3543CLASS="PARAMETER"
3544><I
3545>ctxt</I
3546></TT
3547>&nbsp;:</TD
3548><TD
3549WIDTH="80%"
3550ALIGN="LEFT"
3551VALIGN="TOP"
3552> an XML parser context</TD
3553></TR
3554><TR
3555><TD
3556WIDTH="20%"
3557ALIGN="RIGHT"
3558VALIGN="TOP"
3559><I
3560CLASS="EMPHASIS"
3561>Returns</I
3562> :</TD
3563><TD
3564WIDTH="80%"
3565ALIGN="LEFT"
3566VALIGN="TOP"
3567>the PITarget name or NULL</TD
3568></TR
3569></TABLE
3570><P
3571></P
3572></DIV
3573></DIV
3574><HR><DIV
3575CLASS="REFSECT2"
3576><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003577NAME="AEN5325"
Daniel Veillard35925471999-02-25 08:46:07 +00003578></A
3579><H3
3580><A
3581NAME="XMLPARSEPI"
3582></A
3583>xmlParsePI()</H3
3584><TABLE
3585BORDER="0"
3586BGCOLOR="#E8E8F8"
3587WIDTH="100%"
3588CELLPADDING="6"
3589><TR
3590><TD
3591><PRE
3592CLASS="PROGRAMLISTING"
3593>void xmlParsePI (<A
3594HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3595>xmlParserCtxtPtr</A
3596> ctxt);</PRE
3597></TD
3598></TR
3599></TABLE
3600><P
3601>parse an XML Processing Instruction.</P
3602><P
3603>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
3604><P
3605>The processing is transfered to SAX once parsed.</P
3606><P
3607></P
3608><DIV
3609CLASS="INFORMALTABLE"
3610><P
3611></P
3612><TABLE
3613BORDER="0"
3614WIDTH="100%"
3615BGCOLOR="#FFE0E0"
3616CELLSPACING="0"
3617CELLPADDING="4"
3618CLASS="CALSTABLE"
3619><TR
3620><TD
3621WIDTH="20%"
3622ALIGN="RIGHT"
3623VALIGN="TOP"
3624><TT
3625CLASS="PARAMETER"
3626><I
3627>ctxt</I
3628></TT
3629>&nbsp;:</TD
3630><TD
3631WIDTH="80%"
3632ALIGN="LEFT"
3633VALIGN="TOP"
3634> an XML parser context</TD
3635></TR
3636></TABLE
3637><P
3638></P
3639></DIV
3640></DIV
3641><HR><DIV
3642CLASS="REFSECT2"
3643><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003644NAME="AEN5343"
Daniel Veillard35925471999-02-25 08:46:07 +00003645></A
3646><H3
3647><A
3648NAME="XMLPARSENOTATIONDECL"
3649></A
3650>xmlParseNotationDecl()</H3
3651><TABLE
3652BORDER="0"
3653BGCOLOR="#E8E8F8"
3654WIDTH="100%"
3655CELLPADDING="6"
3656><TR
3657><TD
3658><PRE
3659CLASS="PROGRAMLISTING"
3660>void xmlParseNotationDecl (<A
3661HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3662>xmlParserCtxtPtr</A
3663> ctxt);</PRE
3664></TD
3665></TR
3666></TABLE
3667><P
3668>parse a notation declaration</P
3669><P
3670>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
3671><P
3672>Hence there is actually 3 choices:
3673'PUBLIC' S PubidLiteral
3674'PUBLIC' S PubidLiteral S SystemLiteral
3675and 'SYSTEM' S SystemLiteral</P
3676><P
3677>See the NOTE on <A
3678HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
3679>xmlParseExternalID</A
3680>().</P
3681><P
3682></P
3683><DIV
3684CLASS="INFORMALTABLE"
3685><P
3686></P
3687><TABLE
3688BORDER="0"
3689WIDTH="100%"
3690BGCOLOR="#FFE0E0"
3691CELLSPACING="0"
3692CELLPADDING="4"
3693CLASS="CALSTABLE"
3694><TR
3695><TD
3696WIDTH="20%"
3697ALIGN="RIGHT"
3698VALIGN="TOP"
3699><TT
3700CLASS="PARAMETER"
3701><I
3702>ctxt</I
3703></TT
3704>&nbsp;:</TD
3705><TD
3706WIDTH="80%"
3707ALIGN="LEFT"
3708VALIGN="TOP"
3709> an XML parser context</TD
3710></TR
3711></TABLE
3712><P
3713></P
3714></DIV
3715></DIV
3716><HR><DIV
3717CLASS="REFSECT2"
3718><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003719NAME="AEN5363"
Daniel Veillard35925471999-02-25 08:46:07 +00003720></A
3721><H3
3722><A
3723NAME="XMLPARSEENTITYDECL"
3724></A
3725>xmlParseEntityDecl()</H3
3726><TABLE
3727BORDER="0"
3728BGCOLOR="#E8E8F8"
3729WIDTH="100%"
3730CELLPADDING="6"
3731><TR
3732><TD
3733><PRE
3734CLASS="PROGRAMLISTING"
3735>void xmlParseEntityDecl (<A
3736HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3737>xmlParserCtxtPtr</A
3738> ctxt);</PRE
3739></TD
3740></TR
3741></TABLE
3742><P
3743>parse &lt;!ENTITY declarations</P
3744><P
3745>[70] EntityDecl ::= GEDecl | PEDecl</P
3746><P
3747>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
3748><P
3749>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
3750><P
3751>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
3752><P
3753>[74] PEDef ::= EntityValue | ExternalID</P
3754><P
3755>[76] NDataDecl ::= S 'NDATA' S Name</P
3756><P
3757></P
3758><DIV
3759CLASS="INFORMALTABLE"
3760><P
3761></P
3762><TABLE
3763BORDER="0"
3764WIDTH="100%"
3765BGCOLOR="#FFE0E0"
3766CELLSPACING="0"
3767CELLPADDING="4"
3768CLASS="CALSTABLE"
3769><TR
3770><TD
3771WIDTH="20%"
3772ALIGN="RIGHT"
3773VALIGN="TOP"
3774><TT
3775CLASS="PARAMETER"
3776><I
3777>ctxt</I
3778></TT
3779>&nbsp;:</TD
3780><TD
3781WIDTH="80%"
3782ALIGN="LEFT"
3783VALIGN="TOP"
3784> an XML parser context</TD
3785></TR
3786></TABLE
3787><P
3788></P
3789></DIV
3790></DIV
3791><HR><DIV
3792CLASS="REFSECT2"
3793><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003794NAME="AEN5385"
Daniel Veillard35925471999-02-25 08:46:07 +00003795></A
3796><H3
3797><A
3798NAME="XMLPARSEDEFAULTDECL"
3799></A
3800>xmlParseDefaultDecl()</H3
3801><TABLE
3802BORDER="0"
3803BGCOLOR="#E8E8F8"
3804WIDTH="100%"
3805CELLPADDING="6"
3806><TR
3807><TD
3808><PRE
3809CLASS="PROGRAMLISTING"
3810>int xmlParseDefaultDecl (<A
3811HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3812>xmlParserCtxtPtr</A
3813> ctxt,
3814 <A
3815HREF="gnome-xml-tree.html#CHAR"
3816>CHAR</A
3817> **value);</PRE
3818></TD
3819></TR
3820></TABLE
3821><P
3822>Parse an attribute default declaration</P
3823><P
3824>[60] DefaultDecl ::= '<GTKDOCLINK
3825HREF="REQUIRED"
3826>REQUIRED</GTKDOCLINK
3827>' | '<GTKDOCLINK
3828HREF="IMPLIED"
3829>IMPLIED</GTKDOCLINK
3830>' | (('<GTKDOCLINK
3831HREF="FIXED"
3832>FIXED</GTKDOCLINK
3833>' S)? AttValue)</P
3834><P
3835></P
3836><DIV
3837CLASS="INFORMALTABLE"
3838><P
3839></P
3840><TABLE
3841BORDER="0"
3842WIDTH="100%"
3843BGCOLOR="#FFE0E0"
3844CELLSPACING="0"
3845CELLPADDING="4"
3846CLASS="CALSTABLE"
3847><TR
3848><TD
3849WIDTH="20%"
3850ALIGN="RIGHT"
3851VALIGN="TOP"
3852><TT
3853CLASS="PARAMETER"
3854><I
3855>ctxt</I
3856></TT
3857>&nbsp;:</TD
3858><TD
3859WIDTH="80%"
3860ALIGN="LEFT"
3861VALIGN="TOP"
3862> an XML parser context</TD
3863></TR
3864><TR
3865><TD
3866WIDTH="20%"
3867ALIGN="RIGHT"
3868VALIGN="TOP"
3869><TT
3870CLASS="PARAMETER"
3871><I
3872>value</I
3873></TT
3874>&nbsp;:</TD
3875><TD
3876WIDTH="80%"
3877ALIGN="LEFT"
3878VALIGN="TOP"
3879> Receive a possible fixed default value for the attribute</TD
3880></TR
3881><TR
3882><TD
3883WIDTH="20%"
3884ALIGN="RIGHT"
3885VALIGN="TOP"
3886><I
3887CLASS="EMPHASIS"
3888>Returns</I
3889> :</TD
3890><TD
3891WIDTH="80%"
3892ALIGN="LEFT"
3893VALIGN="TOP"
3894> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
3895or XML_ATTRIBUTE_FIXED. </TD
3896></TR
3897></TABLE
3898><P
3899></P
3900></DIV
3901></DIV
3902><HR><DIV
3903CLASS="REFSECT2"
3904><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003905NAME="AEN5414"
Daniel Veillard35925471999-02-25 08:46:07 +00003906></A
3907><H3
3908><A
3909NAME="XMLPARSENOTATIONTYPE"
3910></A
3911>xmlParseNotationType()</H3
3912><TABLE
3913BORDER="0"
3914BGCOLOR="#E8E8F8"
3915WIDTH="100%"
3916CELLPADDING="6"
3917><TR
3918><TD
3919><PRE
3920CLASS="PROGRAMLISTING"
3921><A
3922HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
3923>xmlEnumerationPtr</A
3924> xmlParseNotationType (<A
3925HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3926>xmlParserCtxtPtr</A
3927> ctxt);</PRE
3928></TD
3929></TR
3930></TABLE
3931><P
3932>parse an Notation attribute type.</P
3933><P
3934>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
3935><P
3936>Note: the leading 'NOTATION' S part has already being parsed...</P
3937><P
3938></P
3939><DIV
3940CLASS="INFORMALTABLE"
3941><P
3942></P
3943><TABLE
3944BORDER="0"
3945WIDTH="100%"
3946BGCOLOR="#FFE0E0"
3947CELLSPACING="0"
3948CELLPADDING="4"
3949CLASS="CALSTABLE"
3950><TR
3951><TD
3952WIDTH="20%"
3953ALIGN="RIGHT"
3954VALIGN="TOP"
3955><TT
3956CLASS="PARAMETER"
3957><I
3958>ctxt</I
3959></TT
3960>&nbsp;:</TD
3961><TD
3962WIDTH="80%"
3963ALIGN="LEFT"
3964VALIGN="TOP"
3965> an XML parser context</TD
3966></TR
3967><TR
3968><TD
3969WIDTH="20%"
3970ALIGN="RIGHT"
3971VALIGN="TOP"
3972><I
3973CLASS="EMPHASIS"
3974>Returns</I
3975> :</TD
3976><TD
3977WIDTH="80%"
3978ALIGN="LEFT"
3979VALIGN="TOP"
3980> the notation attribute tree built while parsing</TD
3981></TR
3982></TABLE
3983><P
3984></P
3985></DIV
3986></DIV
3987><HR><DIV
3988CLASS="REFSECT2"
3989><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00003990NAME="AEN5437"
Daniel Veillard35925471999-02-25 08:46:07 +00003991></A
3992><H3
3993><A
3994NAME="XMLPARSEENUMERATIONTYPE"
3995></A
3996>xmlParseEnumerationType()</H3
3997><TABLE
3998BORDER="0"
3999BGCOLOR="#E8E8F8"
4000WIDTH="100%"
4001CELLPADDING="6"
4002><TR
4003><TD
4004><PRE
4005CLASS="PROGRAMLISTING"
4006><A
4007HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4008>xmlEnumerationPtr</A
4009> xmlParseEnumerationType (<A
4010HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4011>xmlParserCtxtPtr</A
4012> ctxt);</PRE
4013></TD
4014></TR
4015></TABLE
4016><P
4017>parse an Enumeration attribute type.</P
4018><P
4019>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4020><P
4021></P
4022><DIV
4023CLASS="INFORMALTABLE"
4024><P
4025></P
4026><TABLE
4027BORDER="0"
4028WIDTH="100%"
4029BGCOLOR="#FFE0E0"
4030CELLSPACING="0"
4031CELLPADDING="4"
4032CLASS="CALSTABLE"
4033><TR
4034><TD
4035WIDTH="20%"
4036ALIGN="RIGHT"
4037VALIGN="TOP"
4038><TT
4039CLASS="PARAMETER"
4040><I
4041>ctxt</I
4042></TT
4043>&nbsp;:</TD
4044><TD
4045WIDTH="80%"
4046ALIGN="LEFT"
4047VALIGN="TOP"
4048> an XML parser context</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> the enumeration attribute tree built while parsing</TD
4064></TR
4065></TABLE
4066><P
4067></P
4068></DIV
4069></DIV
4070><HR><DIV
4071CLASS="REFSECT2"
4072><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004073NAME="AEN5459"
Daniel Veillard35925471999-02-25 08:46:07 +00004074></A
4075><H3
4076><A
4077NAME="XMLPARSEENUMERATEDTYPE"
4078></A
4079>xmlParseEnumeratedType()</H3
4080><TABLE
4081BORDER="0"
4082BGCOLOR="#E8E8F8"
4083WIDTH="100%"
4084CELLPADDING="6"
4085><TR
4086><TD
4087><PRE
4088CLASS="PROGRAMLISTING"
4089>int xmlParseEnumeratedType (<A
4090HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4091>xmlParserCtxtPtr</A
4092> ctxt,
4093 <A
4094HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4095>xmlEnumerationPtr</A
4096> *tree);</PRE
4097></TD
4098></TR
4099></TABLE
4100><P
4101>parse an Enumerated attribute type.</P
4102><P
4103>[57] EnumeratedType ::= NotationType | Enumeration</P
4104><P
4105>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</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><TT
4142CLASS="PARAMETER"
4143><I
4144>tree</I
4145></TT
4146>&nbsp;:</TD
4147><TD
4148WIDTH="80%"
4149ALIGN="LEFT"
4150VALIGN="TOP"
4151> the enumeration tree built while parsing</TD
4152></TR
4153><TR
4154><TD
4155WIDTH="20%"
4156ALIGN="RIGHT"
4157VALIGN="TOP"
4158><I
4159CLASS="EMPHASIS"
4160>Returns</I
4161> :</TD
4162><TD
4163WIDTH="80%"
4164ALIGN="LEFT"
4165VALIGN="TOP"
4166> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
4167></TR
4168></TABLE
4169><P
4170></P
4171></DIV
4172></DIV
4173><HR><DIV
4174CLASS="REFSECT2"
4175><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004176NAME="AEN5486"
Daniel Veillard35925471999-02-25 08:46:07 +00004177></A
4178><H3
4179><A
4180NAME="XMLPARSEATTRIBUTETYPE"
4181></A
4182>xmlParseAttributeType()</H3
4183><TABLE
4184BORDER="0"
4185BGCOLOR="#E8E8F8"
4186WIDTH="100%"
4187CELLPADDING="6"
4188><TR
4189><TD
4190><PRE
4191CLASS="PROGRAMLISTING"
4192>int xmlParseAttributeType (<A
4193HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4194>xmlParserCtxtPtr</A
4195> ctxt,
4196 <A
4197HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4198>xmlEnumerationPtr</A
4199> *tree);</PRE
4200></TD
4201></TR
4202></TABLE
4203><P
4204>parse the Attribute list def for an element</P
4205><P
4206>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4207><P
4208>[55] StringType ::= 'CDATA'</P
4209><P
4210>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4211'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4212><P
4213></P
4214><DIV
4215CLASS="INFORMALTABLE"
4216><P
4217></P
4218><TABLE
4219BORDER="0"
4220WIDTH="100%"
4221BGCOLOR="#FFE0E0"
4222CELLSPACING="0"
4223CELLPADDING="4"
4224CLASS="CALSTABLE"
4225><TR
4226><TD
4227WIDTH="20%"
4228ALIGN="RIGHT"
4229VALIGN="TOP"
4230><TT
4231CLASS="PARAMETER"
4232><I
4233>ctxt</I
4234></TT
4235>&nbsp;:</TD
4236><TD
4237WIDTH="80%"
4238ALIGN="LEFT"
4239VALIGN="TOP"
4240> an XML parser context</TD
4241></TR
4242><TR
4243><TD
4244WIDTH="20%"
4245ALIGN="RIGHT"
4246VALIGN="TOP"
4247><TT
4248CLASS="PARAMETER"
4249><I
4250>tree</I
4251></TT
4252>&nbsp;:</TD
4253><TD
4254WIDTH="80%"
4255ALIGN="LEFT"
4256VALIGN="TOP"
4257> the enumeration tree built while parsing</TD
4258></TR
4259><TR
4260><TD
4261WIDTH="20%"
4262ALIGN="RIGHT"
4263VALIGN="TOP"
4264><I
4265CLASS="EMPHASIS"
4266>Returns</I
4267> :</TD
4268><TD
4269WIDTH="80%"
4270ALIGN="LEFT"
4271VALIGN="TOP"
4272>the attribute type</TD
4273></TR
4274></TABLE
4275><P
4276></P
4277></DIV
4278></DIV
4279><HR><DIV
4280CLASS="REFSECT2"
4281><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004282NAME="AEN5514"
Daniel Veillard35925471999-02-25 08:46:07 +00004283></A
4284><H3
4285><A
4286NAME="XMLPARSEATTRIBUTELISTDECL"
4287></A
4288>xmlParseAttributeListDecl()</H3
4289><TABLE
4290BORDER="0"
4291BGCOLOR="#E8E8F8"
4292WIDTH="100%"
4293CELLPADDING="6"
4294><TR
4295><TD
4296><PRE
4297CLASS="PROGRAMLISTING"
4298>void xmlParseAttributeListDecl (<A
4299HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4300>xmlParserCtxtPtr</A
4301> ctxt);</PRE
4302></TD
4303></TR
4304></TABLE
4305><P
4306>: parse the Attribute list def for an element</P
4307><P
4308>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
4309><P
4310>[53] AttDef ::= S Name S AttType S DefaultDecl</P
4311><P
4312></P
4313><DIV
4314CLASS="INFORMALTABLE"
4315><P
4316></P
4317><TABLE
4318BORDER="0"
4319WIDTH="100%"
4320BGCOLOR="#FFE0E0"
4321CELLSPACING="0"
4322CELLPADDING="4"
4323CLASS="CALSTABLE"
4324><TR
4325><TD
4326WIDTH="20%"
4327ALIGN="RIGHT"
4328VALIGN="TOP"
4329><TT
4330CLASS="PARAMETER"
4331><I
4332>ctxt</I
4333></TT
4334>&nbsp;:</TD
4335><TD
4336WIDTH="80%"
4337ALIGN="LEFT"
4338VALIGN="TOP"
4339> an XML parser context</TD
4340></TR
4341></TABLE
4342><P
4343></P
4344></DIV
4345></DIV
4346><HR><DIV
4347CLASS="REFSECT2"
4348><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004349NAME="AEN5532"
Daniel Veillard35925471999-02-25 08:46:07 +00004350></A
4351><H3
4352><A
4353NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
4354></A
4355>xmlParseElementMixedContentDecl()</H3
4356><TABLE
4357BORDER="0"
4358BGCOLOR="#E8E8F8"
4359WIDTH="100%"
4360CELLPADDING="6"
4361><TR
4362><TD
4363><PRE
4364CLASS="PROGRAMLISTING"
4365><A
4366HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4367>xmlElementContentPtr</A
4368> xmlParseElementMixedContentDecl
4369 (<A
4370HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4371>xmlParserCtxtPtr</A
4372> ctxt);</PRE
4373></TD
4374></TR
4375></TABLE
4376><P
4377>parse the declaration for a Mixed Element content
4378The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4379><P
4380>[51] Mixed ::= '(' S? '<GTKDOCLINK
4381HREF="PCDATA"
4382>PCDATA</GTKDOCLINK
4383>' (S? '|' S? Name)* S? ')*' |
4384'(' S? '<GTKDOCLINK
4385HREF="PCDATA"
4386>PCDATA</GTKDOCLINK
4387>' S? ')'</P
4388><P
4389></P
4390><DIV
4391CLASS="INFORMALTABLE"
4392><P
4393></P
4394><TABLE
4395BORDER="0"
4396WIDTH="100%"
4397BGCOLOR="#FFE0E0"
4398CELLSPACING="0"
4399CELLPADDING="4"
4400CLASS="CALSTABLE"
4401><TR
4402><TD
4403WIDTH="20%"
4404ALIGN="RIGHT"
4405VALIGN="TOP"
4406><TT
4407CLASS="PARAMETER"
4408><I
4409>ctxt</I
4410></TT
4411>&nbsp;:</TD
4412><TD
4413WIDTH="80%"
4414ALIGN="LEFT"
4415VALIGN="TOP"
4416> an XML parser context</TD
4417></TR
4418><TR
4419><TD
4420WIDTH="20%"
4421ALIGN="RIGHT"
4422VALIGN="TOP"
4423><I
4424CLASS="EMPHASIS"
4425>Returns</I
4426> :</TD
4427><TD
4428WIDTH="80%"
4429ALIGN="LEFT"
4430VALIGN="TOP"
4431> the list of the xmlElementContentPtr describing the element choices</TD
4432></TR
4433></TABLE
4434><P
4435></P
4436></DIV
4437></DIV
4438><HR><DIV
4439CLASS="REFSECT2"
4440><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004441NAME="AEN5556"
Daniel Veillard35925471999-02-25 08:46:07 +00004442></A
4443><H3
4444><A
4445NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
4446></A
4447>xmlParseElementChildrenContentDecl()</H3
4448><TABLE
4449BORDER="0"
4450BGCOLOR="#E8E8F8"
4451WIDTH="100%"
4452CELLPADDING="6"
4453><TR
4454><TD
4455><PRE
4456CLASS="PROGRAMLISTING"
4457><A
4458HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4459>xmlElementContentPtr</A
4460> xmlParseElementChildrenContentDecl
4461 (<A
4462HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4463>xmlParserCtxtPtr</A
4464> ctxt);</PRE
4465></TD
4466></TR
4467></TABLE
4468><P
4469>parse the declaration for a Mixed Element content
4470The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4471><P
4472>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
4473><P
4474>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
4475><P
4476>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
4477><P
4478>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
4479><P
4480></P
4481><DIV
4482CLASS="INFORMALTABLE"
4483><P
4484></P
4485><TABLE
4486BORDER="0"
4487WIDTH="100%"
4488BGCOLOR="#FFE0E0"
4489CELLSPACING="0"
4490CELLPADDING="4"
4491CLASS="CALSTABLE"
4492><TR
4493><TD
4494WIDTH="20%"
4495ALIGN="RIGHT"
4496VALIGN="TOP"
4497><TT
4498CLASS="PARAMETER"
4499><I
4500>ctxt</I
4501></TT
4502>&nbsp;:</TD
4503><TD
4504WIDTH="80%"
4505ALIGN="LEFT"
4506VALIGN="TOP"
4507> an XML parser context</TD
4508></TR
4509><TR
4510><TD
4511WIDTH="20%"
4512ALIGN="RIGHT"
4513VALIGN="TOP"
4514><I
4515CLASS="EMPHASIS"
4516>Returns</I
4517> :</TD
4518><TD
4519WIDTH="80%"
4520ALIGN="LEFT"
4521VALIGN="TOP"
4522> the tree of xmlElementContentPtr describing the element
4523hierarchy.</TD
4524></TR
4525></TABLE
4526><P
4527></P
4528></DIV
4529></DIV
4530><HR><DIV
4531CLASS="REFSECT2"
4532><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004533NAME="AEN5581"
Daniel Veillard35925471999-02-25 08:46:07 +00004534></A
4535><H3
4536><A
4537NAME="XMLPARSEELEMENTCONTENTDECL"
4538></A
4539>xmlParseElementContentDecl()</H3
4540><TABLE
4541BORDER="0"
4542BGCOLOR="#E8E8F8"
4543WIDTH="100%"
4544CELLPADDING="6"
4545><TR
4546><TD
4547><PRE
4548CLASS="PROGRAMLISTING"
4549>int xmlParseElementContentDecl (<A
4550HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4551>xmlParserCtxtPtr</A
4552> ctxt,
4553 <A
4554HREF="gnome-xml-tree.html#CHAR"
4555>CHAR</A
4556> *name,
4557 <A
4558HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4559>xmlElementContentPtr</A
4560> *result);</PRE
4561></TD
4562></TR
4563></TABLE
4564><P
4565>parse the declaration for an Element content either Mixed or Children,
4566the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
4567><P
4568>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
4569><P
4570></P
4571><DIV
4572CLASS="INFORMALTABLE"
4573><P
4574></P
4575><TABLE
4576BORDER="0"
4577WIDTH="100%"
4578BGCOLOR="#FFE0E0"
4579CELLSPACING="0"
4580CELLPADDING="4"
4581CLASS="CALSTABLE"
4582><TR
4583><TD
4584WIDTH="20%"
4585ALIGN="RIGHT"
4586VALIGN="TOP"
4587><TT
4588CLASS="PARAMETER"
4589><I
4590>ctxt</I
4591></TT
4592>&nbsp;:</TD
4593><TD
4594WIDTH="80%"
4595ALIGN="LEFT"
4596VALIGN="TOP"
4597> an XML parser context</TD
4598></TR
4599><TR
4600><TD
4601WIDTH="20%"
4602ALIGN="RIGHT"
4603VALIGN="TOP"
4604><TT
4605CLASS="PARAMETER"
4606><I
4607>name</I
4608></TT
4609>&nbsp;:</TD
4610><TD
4611WIDTH="80%"
4612ALIGN="LEFT"
4613VALIGN="TOP"
4614> the name of the element being defined.</TD
4615></TR
4616><TR
4617><TD
4618WIDTH="20%"
4619ALIGN="RIGHT"
4620VALIGN="TOP"
4621><TT
4622CLASS="PARAMETER"
4623><I
4624>result</I
4625></TT
4626>&nbsp;:</TD
4627><TD
4628WIDTH="80%"
4629ALIGN="LEFT"
4630VALIGN="TOP"
4631> the Element Content pointer will be stored here if any</TD
4632></TR
4633><TR
4634><TD
4635WIDTH="20%"
4636ALIGN="RIGHT"
4637VALIGN="TOP"
4638><I
4639CLASS="EMPHASIS"
4640>Returns</I
4641> :</TD
4642><TD
4643WIDTH="80%"
4644ALIGN="LEFT"
4645VALIGN="TOP"
4646> the type of element content XML_ELEMENT_TYPE_xxx</TD
4647></TR
4648></TABLE
4649><P
4650></P
4651></DIV
4652></DIV
4653><HR><DIV
4654CLASS="REFSECT2"
4655><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004656NAME="AEN5612"
Daniel Veillard35925471999-02-25 08:46:07 +00004657></A
4658><H3
4659><A
4660NAME="XMLPARSEELEMENTDECL"
4661></A
4662>xmlParseElementDecl()</H3
4663><TABLE
4664BORDER="0"
4665BGCOLOR="#E8E8F8"
4666WIDTH="100%"
4667CELLPADDING="6"
4668><TR
4669><TD
4670><PRE
4671CLASS="PROGRAMLISTING"
4672>int xmlParseElementDecl (<A
4673HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4674>xmlParserCtxtPtr</A
4675> ctxt);</PRE
4676></TD
4677></TR
4678></TABLE
4679><P
4680>parse an Element declaration.</P
4681><P
4682>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
4683><P
4684>TODO There is a check [ VC: Unique Element Type Declaration ]</P
4685><P
4686></P
4687><DIV
4688CLASS="INFORMALTABLE"
4689><P
4690></P
4691><TABLE
4692BORDER="0"
4693WIDTH="100%"
4694BGCOLOR="#FFE0E0"
4695CELLSPACING="0"
4696CELLPADDING="4"
4697CLASS="CALSTABLE"
4698><TR
4699><TD
4700WIDTH="20%"
4701ALIGN="RIGHT"
4702VALIGN="TOP"
4703><TT
4704CLASS="PARAMETER"
4705><I
4706>ctxt</I
4707></TT
4708>&nbsp;:</TD
4709><TD
4710WIDTH="80%"
4711ALIGN="LEFT"
4712VALIGN="TOP"
4713> an XML parser context</TD
4714></TR
4715><TR
4716><TD
4717WIDTH="20%"
4718ALIGN="RIGHT"
4719VALIGN="TOP"
4720><I
4721CLASS="EMPHASIS"
4722>Returns</I
4723> :</TD
4724><TD
4725WIDTH="80%"
4726ALIGN="LEFT"
4727VALIGN="TOP"
4728>the type of the element, or -1 in case of error</TD
4729></TR
4730></TABLE
4731><P
4732></P
4733></DIV
4734></DIV
4735><HR><DIV
4736CLASS="REFSECT2"
4737><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004738NAME="AEN5634"
Daniel Veillard35925471999-02-25 08:46:07 +00004739></A
4740><H3
4741><A
4742NAME="XMLPARSEMARKUPDECL"
4743></A
4744>xmlParseMarkupDecl()</H3
4745><TABLE
4746BORDER="0"
4747BGCOLOR="#E8E8F8"
4748WIDTH="100%"
4749CELLPADDING="6"
4750><TR
4751><TD
4752><PRE
4753CLASS="PROGRAMLISTING"
4754>void xmlParseMarkupDecl (<A
4755HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4756>xmlParserCtxtPtr</A
4757> ctxt);</PRE
4758></TD
4759></TR
4760></TABLE
4761><P
4762>parse Markup declarations</P
4763><P
4764>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
4765NotationDecl | PI | Comment</P
4766><P
4767>TODO There is a check [ VC: Proper Declaration/PE Nesting ]</P
4768><P
4769></P
4770><DIV
4771CLASS="INFORMALTABLE"
4772><P
4773></P
4774><TABLE
4775BORDER="0"
4776WIDTH="100%"
4777BGCOLOR="#FFE0E0"
4778CELLSPACING="0"
4779CELLPADDING="4"
4780CLASS="CALSTABLE"
4781><TR
4782><TD
4783WIDTH="20%"
4784ALIGN="RIGHT"
4785VALIGN="TOP"
4786><TT
4787CLASS="PARAMETER"
4788><I
4789>ctxt</I
4790></TT
4791>&nbsp;:</TD
4792><TD
4793WIDTH="80%"
4794ALIGN="LEFT"
4795VALIGN="TOP"
4796> an XML parser context</TD
4797></TR
4798></TABLE
4799><P
4800></P
4801></DIV
4802></DIV
4803><HR><DIV
4804CLASS="REFSECT2"
4805><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004806NAME="AEN5652"
Daniel Veillard35925471999-02-25 08:46:07 +00004807></A
4808><H3
4809><A
4810NAME="XMLPARSECHARREF"
4811></A
4812>xmlParseCharRef()</H3
4813><TABLE
4814BORDER="0"
4815BGCOLOR="#E8E8F8"
4816WIDTH="100%"
4817CELLPADDING="6"
4818><TR
4819><TD
4820><PRE
4821CLASS="PROGRAMLISTING"
4822><A
4823HREF="gnome-xml-tree.html#CHAR"
4824>CHAR</A
4825>* xmlParseCharRef (<A
4826HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4827>xmlParserCtxtPtr</A
4828> ctxt);</PRE
4829></TD
4830></TR
4831></TABLE
4832><P
4833>parse Reference declarations</P
4834><P
4835>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
4836'&amp;<GTKDOCLINK
4837HREF="X"
4838>x</GTKDOCLINK
4839>' [0-9a-fA-F]+ ';'</P
4840><P
4841></P
4842><DIV
4843CLASS="INFORMALTABLE"
4844><P
4845></P
4846><TABLE
4847BORDER="0"
4848WIDTH="100%"
4849BGCOLOR="#FFE0E0"
4850CELLSPACING="0"
4851CELLPADDING="4"
4852CLASS="CALSTABLE"
4853><TR
4854><TD
4855WIDTH="20%"
4856ALIGN="RIGHT"
4857VALIGN="TOP"
4858><TT
4859CLASS="PARAMETER"
4860><I
4861>ctxt</I
4862></TT
4863>&nbsp;:</TD
4864><TD
4865WIDTH="80%"
4866ALIGN="LEFT"
4867VALIGN="TOP"
4868> an XML parser context</TD
4869></TR
4870><TR
4871><TD
4872WIDTH="20%"
4873ALIGN="RIGHT"
4874VALIGN="TOP"
4875><I
4876CLASS="EMPHASIS"
4877>Returns</I
4878> :</TD
4879><TD
4880WIDTH="80%"
4881ALIGN="LEFT"
4882VALIGN="TOP"
4883>the value parsed</TD
4884></TR
4885></TABLE
4886><P
4887></P
4888></DIV
4889></DIV
4890><HR><DIV
4891CLASS="REFSECT2"
4892><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004893NAME="AEN5675"
Daniel Veillard35925471999-02-25 08:46:07 +00004894></A
4895><H3
4896><A
4897NAME="XMLPARSEENTITYREF"
4898></A
4899>xmlParseEntityRef()</H3
4900><TABLE
4901BORDER="0"
4902BGCOLOR="#E8E8F8"
4903WIDTH="100%"
4904CELLPADDING="6"
4905><TR
4906><TD
4907><PRE
4908CLASS="PROGRAMLISTING"
4909><A
4910HREF="gnome-xml-tree.html#CHAR"
4911>CHAR</A
4912>* xmlParseEntityRef (<A
4913HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4914>xmlParserCtxtPtr</A
4915> ctxt);</PRE
4916></TD
4917></TR
4918></TABLE
4919><P
4920>parse ENTITY references declarations</P
4921><P
4922>[68] EntityRef ::= '&amp;' Name ';'</P
4923><P
4924></P
4925><DIV
4926CLASS="INFORMALTABLE"
4927><P
4928></P
4929><TABLE
4930BORDER="0"
4931WIDTH="100%"
4932BGCOLOR="#FFE0E0"
4933CELLSPACING="0"
4934CELLPADDING="4"
4935CLASS="CALSTABLE"
4936><TR
4937><TD
4938WIDTH="20%"
4939ALIGN="RIGHT"
4940VALIGN="TOP"
4941><TT
4942CLASS="PARAMETER"
4943><I
4944>ctxt</I
4945></TT
4946>&nbsp;:</TD
4947><TD
4948WIDTH="80%"
4949ALIGN="LEFT"
4950VALIGN="TOP"
4951> an XML parser context</TD
4952></TR
4953><TR
4954><TD
4955WIDTH="20%"
4956ALIGN="RIGHT"
4957VALIGN="TOP"
4958><I
4959CLASS="EMPHASIS"
4960>Returns</I
4961> :</TD
4962><TD
4963WIDTH="80%"
4964ALIGN="LEFT"
4965VALIGN="TOP"
4966>the entity ref string or NULL if directly as input stream.</TD
4967></TR
4968></TABLE
4969><P
4970></P
4971></DIV
4972></DIV
4973><HR><DIV
4974CLASS="REFSECT2"
4975><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00004976NAME="AEN5697"
Daniel Veillard35925471999-02-25 08:46:07 +00004977></A
4978><H3
4979><A
4980NAME="XMLPARSEREFERENCE"
4981></A
4982>xmlParseReference()</H3
4983><TABLE
4984BORDER="0"
4985BGCOLOR="#E8E8F8"
4986WIDTH="100%"
4987CELLPADDING="6"
4988><TR
4989><TD
4990><PRE
4991CLASS="PROGRAMLISTING"
4992><A
4993HREF="gnome-xml-tree.html#CHAR"
4994>CHAR</A
4995>* xmlParseReference (<A
4996HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4997>xmlParserCtxtPtr</A
4998> ctxt);</PRE
4999></TD
5000></TR
5001></TABLE
5002><P
5003>parse Reference declarations</P
5004><P
5005>[67] Reference ::= EntityRef | CharRef</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"
5049>the entity string or NULL if handled directly by pushing
5050the entity value as the input.</TD
5051></TR
5052></TABLE
5053><P
5054></P
5055></DIV
5056></DIV
5057><HR><DIV
5058CLASS="REFSECT2"
5059><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005060NAME="AEN5719"
Daniel Veillard35925471999-02-25 08:46:07 +00005061></A
5062><H3
5063><A
5064NAME="XMLPARSEPEREFERENCE"
5065></A
5066>xmlParsePEReference()</H3
5067><TABLE
5068BORDER="0"
5069BGCOLOR="#E8E8F8"
5070WIDTH="100%"
5071CELLPADDING="6"
5072><TR
5073><TD
5074><PRE
5075CLASS="PROGRAMLISTING"
5076><A
5077HREF="gnome-xml-tree.html#CHAR"
5078>CHAR</A
5079>* xmlParsePEReference (<A
5080HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5081>xmlParserCtxtPtr</A
5082> ctxt);</PRE
5083></TD
5084></TR
5085></TABLE
5086><P
5087>parse PEReference declarations</P
5088><P
5089>[69] PEReference ::= '%' Name ';'</P
5090><P
5091></P
5092><DIV
5093CLASS="INFORMALTABLE"
5094><P
5095></P
5096><TABLE
5097BORDER="0"
5098WIDTH="100%"
5099BGCOLOR="#FFE0E0"
5100CELLSPACING="0"
5101CELLPADDING="4"
5102CLASS="CALSTABLE"
5103><TR
5104><TD
5105WIDTH="20%"
5106ALIGN="RIGHT"
5107VALIGN="TOP"
5108><TT
5109CLASS="PARAMETER"
5110><I
5111>ctxt</I
5112></TT
5113>&nbsp;:</TD
5114><TD
5115WIDTH="80%"
5116ALIGN="LEFT"
5117VALIGN="TOP"
5118> an XML parser context</TD
5119></TR
5120><TR
5121><TD
5122WIDTH="20%"
5123ALIGN="RIGHT"
5124VALIGN="TOP"
5125><I
5126CLASS="EMPHASIS"
5127>Returns</I
5128> :</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
5133>the entity content or NULL if handled directly.</TD
5134></TR
5135></TABLE
5136><P
5137></P
5138></DIV
5139></DIV
5140><HR><DIV
5141CLASS="REFSECT2"
5142><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005143NAME="AEN5741"
Daniel Veillard35925471999-02-25 08:46:07 +00005144></A
5145><H3
5146><A
5147NAME="XMLPARSEDOCTYPEDECL"
5148></A
5149>xmlParseDocTypeDecl()</H3
5150><TABLE
5151BORDER="0"
5152BGCOLOR="#E8E8F8"
5153WIDTH="100%"
5154CELLPADDING="6"
5155><TR
5156><TD
5157><PRE
5158CLASS="PROGRAMLISTING"
5159>void xmlParseDocTypeDecl (<A
5160HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5161>xmlParserCtxtPtr</A
5162> ctxt);</PRE
5163></TD
5164></TR
5165></TABLE
5166><P
5167>parse a DOCTYPE declaration</P
5168><P
5169>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
5170('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
5171><P
5172></P
5173><DIV
5174CLASS="INFORMALTABLE"
5175><P
5176></P
5177><TABLE
5178BORDER="0"
5179WIDTH="100%"
5180BGCOLOR="#FFE0E0"
5181CELLSPACING="0"
5182CELLPADDING="4"
5183CLASS="CALSTABLE"
5184><TR
5185><TD
5186WIDTH="20%"
5187ALIGN="RIGHT"
5188VALIGN="TOP"
5189><TT
5190CLASS="PARAMETER"
5191><I
5192>ctxt</I
5193></TT
5194>&nbsp;:</TD
5195><TD
5196WIDTH="80%"
5197ALIGN="LEFT"
5198VALIGN="TOP"
5199> an XML parser context</TD
5200></TR
5201></TABLE
5202><P
5203></P
5204></DIV
5205></DIV
5206><HR><DIV
5207CLASS="REFSECT2"
5208><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005209NAME="AEN5758"
Daniel Veillard35925471999-02-25 08:46:07 +00005210></A
5211><H3
5212><A
5213NAME="XMLPARSEATTRIBUTE"
5214></A
5215>xmlParseAttribute()</H3
5216><TABLE
5217BORDER="0"
5218BGCOLOR="#E8E8F8"
5219WIDTH="100%"
5220CELLPADDING="6"
5221><TR
5222><TD
5223><PRE
5224CLASS="PROGRAMLISTING"
5225><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005226HREF="gnome-xml-tree.html#CHAR"
5227>CHAR</A
5228>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005229HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5230>xmlParserCtxtPtr</A
5231> ctxt,
5232 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005233HREF="gnome-xml-tree.html#CHAR"
5234>CHAR</A
5235> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005236></TD
5237></TR
5238></TABLE
5239><P
5240>parse an attribute</P
5241><P
5242>[41] Attribute ::= Name Eq AttValue</P
5243><P
5244>[25] Eq ::= S? '=' S?</P
5245><P
5246>With namespace:</P
5247><P
5248>[NS 11] Attribute ::= QName Eq AttValue</P
5249><P
5250>Also the case QName == xmlns:??? is handled independently as a namespace
5251definition.</P
5252><P
5253></P
5254><DIV
5255CLASS="INFORMALTABLE"
5256><P
5257></P
5258><TABLE
5259BORDER="0"
5260WIDTH="100%"
5261BGCOLOR="#FFE0E0"
5262CELLSPACING="0"
5263CELLPADDING="4"
5264CLASS="CALSTABLE"
5265><TR
5266><TD
5267WIDTH="20%"
5268ALIGN="RIGHT"
5269VALIGN="TOP"
5270><TT
5271CLASS="PARAMETER"
5272><I
5273>ctxt</I
5274></TT
5275>&nbsp;:</TD
5276><TD
5277WIDTH="80%"
5278ALIGN="LEFT"
5279VALIGN="TOP"
5280> an XML parser context</TD
5281></TR
5282><TR
5283><TD
5284WIDTH="20%"
5285ALIGN="RIGHT"
5286VALIGN="TOP"
5287><TT
5288CLASS="PARAMETER"
5289><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00005290>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00005291></TT
5292>&nbsp;:</TD
5293><TD
5294WIDTH="80%"
5295ALIGN="LEFT"
5296VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005297> a CHAR ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005298></TR
5299><TR
5300><TD
5301WIDTH="20%"
5302ALIGN="RIGHT"
5303VALIGN="TOP"
5304><I
5305CLASS="EMPHASIS"
5306>Returns</I
5307> :</TD
5308><TD
5309WIDTH="80%"
5310ALIGN="LEFT"
5311VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005312>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005313></TR
5314></TABLE
5315><P
5316></P
5317></DIV
5318></DIV
5319><HR><DIV
5320CLASS="REFSECT2"
5321><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005322NAME="AEN5789"
Daniel Veillard35925471999-02-25 08:46:07 +00005323></A
5324><H3
5325><A
5326NAME="XMLPARSESTARTTAG"
5327></A
5328>xmlParseStartTag()</H3
5329><TABLE
5330BORDER="0"
5331BGCOLOR="#E8E8F8"
5332WIDTH="100%"
5333CELLPADDING="6"
5334><TR
5335><TD
5336><PRE
5337CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005338>void xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005339HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5340>xmlParserCtxtPtr</A
5341> ctxt);</PRE
5342></TD
5343></TR
5344></TABLE
5345><P
5346>parse a start of tag either for rule element or
5347EmptyElement. In both case we don't parse the tag closing chars.</P
5348><P
5349>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
5350><P
5351>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
5352><P
5353>With namespace:</P
5354><P
5355>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
5356><P
5357>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
5358><P
5359></P
5360><DIV
5361CLASS="INFORMALTABLE"
5362><P
5363></P
5364><TABLE
5365BORDER="0"
5366WIDTH="100%"
5367BGCOLOR="#FFE0E0"
5368CELLSPACING="0"
5369CELLPADDING="4"
5370CLASS="CALSTABLE"
5371><TR
5372><TD
5373WIDTH="20%"
5374ALIGN="RIGHT"
5375VALIGN="TOP"
5376><TT
5377CLASS="PARAMETER"
5378><I
5379>ctxt</I
5380></TT
5381>&nbsp;:</TD
5382><TD
5383WIDTH="80%"
5384ALIGN="LEFT"
5385VALIGN="TOP"
5386> an XML parser context</TD
5387></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005388></TABLE
5389><P
5390></P
5391></DIV
5392></DIV
5393><HR><DIV
5394CLASS="REFSECT2"
5395><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005396NAME="AEN5810"
Daniel Veillard35925471999-02-25 08:46:07 +00005397></A
5398><H3
5399><A
5400NAME="XMLPARSEENDTAG"
5401></A
5402>xmlParseEndTag()</H3
5403><TABLE
5404BORDER="0"
5405BGCOLOR="#E8E8F8"
5406WIDTH="100%"
5407CELLPADDING="6"
5408><TR
5409><TD
5410><PRE
5411CLASS="PROGRAMLISTING"
5412>void xmlParseEndTag (<A
5413HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5414>xmlParserCtxtPtr</A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005415> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005416></TD
5417></TR
5418></TABLE
5419><P
5420>parse an end of tag</P
5421><P
5422>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
5423><P
5424>With namespace</P
5425><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00005426>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005427><P
5428></P
5429><DIV
5430CLASS="INFORMALTABLE"
5431><P
5432></P
5433><TABLE
5434BORDER="0"
5435WIDTH="100%"
5436BGCOLOR="#FFE0E0"
5437CELLSPACING="0"
5438CELLPADDING="4"
5439CLASS="CALSTABLE"
5440><TR
5441><TD
5442WIDTH="20%"
5443ALIGN="RIGHT"
5444VALIGN="TOP"
5445><TT
5446CLASS="PARAMETER"
5447><I
5448>ctxt</I
5449></TT
5450>&nbsp;:</TD
5451><TD
5452WIDTH="80%"
5453ALIGN="LEFT"
5454VALIGN="TOP"
5455> an XML parser context</TD
5456></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005457></TABLE
5458><P
5459></P
5460></DIV
5461></DIV
5462><HR><DIV
5463CLASS="REFSECT2"
5464><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005465NAME="AEN5829"
Daniel Veillard35925471999-02-25 08:46:07 +00005466></A
5467><H3
5468><A
5469NAME="XMLPARSECDSECT"
5470></A
5471>xmlParseCDSect()</H3
5472><TABLE
5473BORDER="0"
5474BGCOLOR="#E8E8F8"
5475WIDTH="100%"
5476CELLPADDING="6"
5477><TR
5478><TD
5479><PRE
5480CLASS="PROGRAMLISTING"
5481>void xmlParseCDSect (<A
5482HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5483>xmlParserCtxtPtr</A
5484> ctxt);</PRE
5485></TD
5486></TR
5487></TABLE
5488><P
5489>Parse escaped pure raw content.</P
5490><P
5491>[18] CDSect ::= CDStart CData CDEnd</P
5492><P
5493>[19] CDStart ::= '&lt;![CDATA['</P
5494><P
5495>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
5496><P
5497>[21] CDEnd ::= ']]&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
5528></TABLE
5529><P
5530></P
5531></DIV
5532></DIV
5533><HR><DIV
5534CLASS="REFSECT2"
5535><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005536NAME="AEN5849"
Daniel Veillard35925471999-02-25 08:46:07 +00005537></A
5538><H3
5539><A
5540NAME="XMLPARSECONTENT"
5541></A
5542>xmlParseContent()</H3
5543><TABLE
5544BORDER="0"
5545BGCOLOR="#E8E8F8"
5546WIDTH="100%"
5547CELLPADDING="6"
5548><TR
5549><TD
5550><PRE
5551CLASS="PROGRAMLISTING"
5552>void xmlParseContent (<A
5553HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5554>xmlParserCtxtPtr</A
5555> ctxt);</PRE
5556></TD
5557></TR
5558></TABLE
5559><P
5560>Parse a content:</P
5561><P
5562>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
5563><P
5564></P
5565><DIV
5566CLASS="INFORMALTABLE"
5567><P
5568></P
5569><TABLE
5570BORDER="0"
5571WIDTH="100%"
5572BGCOLOR="#FFE0E0"
5573CELLSPACING="0"
5574CELLPADDING="4"
5575CLASS="CALSTABLE"
5576><TR
5577><TD
5578WIDTH="20%"
5579ALIGN="RIGHT"
5580VALIGN="TOP"
5581><TT
5582CLASS="PARAMETER"
5583><I
5584>ctxt</I
5585></TT
5586>&nbsp;:</TD
5587><TD
5588WIDTH="80%"
5589ALIGN="LEFT"
5590VALIGN="TOP"
5591> an XML parser context</TD
5592></TR
5593></TABLE
5594><P
5595></P
5596></DIV
5597></DIV
5598><HR><DIV
5599CLASS="REFSECT2"
5600><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005601NAME="AEN5866"
Daniel Veillard35925471999-02-25 08:46:07 +00005602></A
5603><H3
5604><A
5605NAME="XMLPARSEELEMENT"
5606></A
5607>xmlParseElement()</H3
5608><TABLE
5609BORDER="0"
5610BGCOLOR="#E8E8F8"
5611WIDTH="100%"
5612CELLPADDING="6"
5613><TR
5614><TD
5615><PRE
5616CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005617>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005618HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5619>xmlParserCtxtPtr</A
5620> ctxt);</PRE
5621></TD
5622></TR
5623></TABLE
5624><P
5625>parse an XML element, this is highly recursive</P
5626><P
5627>[39] element ::= EmptyElemTag | STag content ETag</P
5628><P
5629>[41] Attribute ::= Name Eq AttValue</P
5630><P
5631></P
5632><DIV
5633CLASS="INFORMALTABLE"
5634><P
5635></P
5636><TABLE
5637BORDER="0"
5638WIDTH="100%"
5639BGCOLOR="#FFE0E0"
5640CELLSPACING="0"
5641CELLPADDING="4"
5642CLASS="CALSTABLE"
5643><TR
5644><TD
5645WIDTH="20%"
5646ALIGN="RIGHT"
5647VALIGN="TOP"
5648><TT
5649CLASS="PARAMETER"
5650><I
5651>ctxt</I
5652></TT
5653>&nbsp;:</TD
5654><TD
5655WIDTH="80%"
5656ALIGN="LEFT"
5657VALIGN="TOP"
5658> an XML parser context</TD
5659></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005660></TABLE
5661><P
5662></P
5663></DIV
5664></DIV
5665><HR><DIV
5666CLASS="REFSECT2"
5667><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005668NAME="AEN5884"
Daniel Veillard35925471999-02-25 08:46:07 +00005669></A
5670><H3
5671><A
5672NAME="XMLPARSEVERSIONNUM"
5673></A
5674>xmlParseVersionNum()</H3
5675><TABLE
5676BORDER="0"
5677BGCOLOR="#E8E8F8"
5678WIDTH="100%"
5679CELLPADDING="6"
5680><TR
5681><TD
5682><PRE
5683CLASS="PROGRAMLISTING"
5684><A
5685HREF="gnome-xml-tree.html#CHAR"
5686>CHAR</A
5687>* xmlParseVersionNum (<A
5688HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5689>xmlParserCtxtPtr</A
5690> ctxt);</PRE
5691></TD
5692></TR
5693></TABLE
5694><P
5695>parse the XML version value.</P
5696><P
5697>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
5698><P
5699></P
5700><DIV
5701CLASS="INFORMALTABLE"
5702><P
5703></P
5704><TABLE
5705BORDER="0"
5706WIDTH="100%"
5707BGCOLOR="#FFE0E0"
5708CELLSPACING="0"
5709CELLPADDING="4"
5710CLASS="CALSTABLE"
5711><TR
5712><TD
5713WIDTH="20%"
5714ALIGN="RIGHT"
5715VALIGN="TOP"
5716><TT
5717CLASS="PARAMETER"
5718><I
5719>ctxt</I
5720></TT
5721>&nbsp;:</TD
5722><TD
5723WIDTH="80%"
5724ALIGN="LEFT"
5725VALIGN="TOP"
5726> an XML parser context</TD
5727></TR
5728><TR
5729><TD
5730WIDTH="20%"
5731ALIGN="RIGHT"
5732VALIGN="TOP"
5733><I
5734CLASS="EMPHASIS"
5735>Returns</I
5736> :</TD
5737><TD
5738WIDTH="80%"
5739ALIGN="LEFT"
5740VALIGN="TOP"
5741>the string giving the XML version number, or NULL</TD
5742></TR
5743></TABLE
5744><P
5745></P
5746></DIV
5747></DIV
5748><HR><DIV
5749CLASS="REFSECT2"
5750><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005751NAME="AEN5906"
Daniel Veillard35925471999-02-25 08:46:07 +00005752></A
5753><H3
5754><A
5755NAME="XMLPARSEVERSIONINFO"
5756></A
5757>xmlParseVersionInfo()</H3
5758><TABLE
5759BORDER="0"
5760BGCOLOR="#E8E8F8"
5761WIDTH="100%"
5762CELLPADDING="6"
5763><TR
5764><TD
5765><PRE
5766CLASS="PROGRAMLISTING"
5767><A
5768HREF="gnome-xml-tree.html#CHAR"
5769>CHAR</A
5770>* xmlParseVersionInfo (<A
5771HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5772>xmlParserCtxtPtr</A
5773> ctxt);</PRE
5774></TD
5775></TR
5776></TABLE
5777><P
5778>parse the XML version.</P
5779><P
5780>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
5781><P
5782>[25] Eq ::= S? '=' S?</P
5783><P
5784></P
5785><DIV
5786CLASS="INFORMALTABLE"
5787><P
5788></P
5789><TABLE
5790BORDER="0"
5791WIDTH="100%"
5792BGCOLOR="#FFE0E0"
5793CELLSPACING="0"
5794CELLPADDING="4"
5795CLASS="CALSTABLE"
5796><TR
5797><TD
5798WIDTH="20%"
5799ALIGN="RIGHT"
5800VALIGN="TOP"
5801><TT
5802CLASS="PARAMETER"
5803><I
5804>ctxt</I
5805></TT
5806>&nbsp;:</TD
5807><TD
5808WIDTH="80%"
5809ALIGN="LEFT"
5810VALIGN="TOP"
5811> an XML parser context</TD
5812></TR
5813><TR
5814><TD
5815WIDTH="20%"
5816ALIGN="RIGHT"
5817VALIGN="TOP"
5818><I
5819CLASS="EMPHASIS"
5820>Returns</I
5821> :</TD
5822><TD
5823WIDTH="80%"
5824ALIGN="LEFT"
5825VALIGN="TOP"
5826>the version string, e.g. "1.0"</TD
5827></TR
5828></TABLE
5829><P
5830></P
5831></DIV
5832></DIV
5833><HR><DIV
5834CLASS="REFSECT2"
5835><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005836NAME="AEN5929"
Daniel Veillard35925471999-02-25 08:46:07 +00005837></A
5838><H3
5839><A
5840NAME="XMLPARSEENCNAME"
5841></A
5842>xmlParseEncName()</H3
5843><TABLE
5844BORDER="0"
5845BGCOLOR="#E8E8F8"
5846WIDTH="100%"
5847CELLPADDING="6"
5848><TR
5849><TD
5850><PRE
5851CLASS="PROGRAMLISTING"
5852><A
5853HREF="gnome-xml-tree.html#CHAR"
5854>CHAR</A
5855>* xmlParseEncName (<A
5856HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5857>xmlParserCtxtPtr</A
5858> ctxt);</PRE
5859></TD
5860></TR
5861></TABLE
5862><P
5863>parse the XML encoding name</P
5864><P
5865>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
5866><P
5867></P
5868><DIV
5869CLASS="INFORMALTABLE"
5870><P
5871></P
5872><TABLE
5873BORDER="0"
5874WIDTH="100%"
5875BGCOLOR="#FFE0E0"
5876CELLSPACING="0"
5877CELLPADDING="4"
5878CLASS="CALSTABLE"
5879><TR
5880><TD
5881WIDTH="20%"
5882ALIGN="RIGHT"
5883VALIGN="TOP"
5884><TT
5885CLASS="PARAMETER"
5886><I
5887>ctxt</I
5888></TT
5889>&nbsp;:</TD
5890><TD
5891WIDTH="80%"
5892ALIGN="LEFT"
5893VALIGN="TOP"
5894> an XML parser context</TD
5895></TR
5896><TR
5897><TD
5898WIDTH="20%"
5899ALIGN="RIGHT"
5900VALIGN="TOP"
5901><I
5902CLASS="EMPHASIS"
5903>Returns</I
5904> :</TD
5905><TD
5906WIDTH="80%"
5907ALIGN="LEFT"
5908VALIGN="TOP"
5909>the encoding name value or NULL</TD
5910></TR
5911></TABLE
5912><P
5913></P
5914></DIV
5915></DIV
5916><HR><DIV
5917CLASS="REFSECT2"
5918><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005919NAME="AEN5951"
Daniel Veillard35925471999-02-25 08:46:07 +00005920></A
5921><H3
5922><A
5923NAME="XMLPARSEENCODINGDECL"
5924></A
5925>xmlParseEncodingDecl()</H3
5926><TABLE
5927BORDER="0"
5928BGCOLOR="#E8E8F8"
5929WIDTH="100%"
5930CELLPADDING="6"
5931><TR
5932><TD
5933><PRE
5934CLASS="PROGRAMLISTING"
5935><A
5936HREF="gnome-xml-tree.html#CHAR"
5937>CHAR</A
5938>* xmlParseEncodingDecl (<A
5939HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5940>xmlParserCtxtPtr</A
5941> ctxt);</PRE
5942></TD
5943></TR
5944></TABLE
5945><P
5946>parse the XML encoding declaration</P
5947><P
5948>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
5949><P
5950>TODO: this should setup the conversion filters.</P
5951><P
5952></P
5953><DIV
5954CLASS="INFORMALTABLE"
5955><P
5956></P
5957><TABLE
5958BORDER="0"
5959WIDTH="100%"
5960BGCOLOR="#FFE0E0"
5961CELLSPACING="0"
5962CELLPADDING="4"
5963CLASS="CALSTABLE"
5964><TR
5965><TD
5966WIDTH="20%"
5967ALIGN="RIGHT"
5968VALIGN="TOP"
5969><TT
5970CLASS="PARAMETER"
5971><I
5972>ctxt</I
5973></TT
5974>&nbsp;:</TD
5975><TD
5976WIDTH="80%"
5977ALIGN="LEFT"
5978VALIGN="TOP"
5979> an XML parser context</TD
5980></TR
5981><TR
5982><TD
5983WIDTH="20%"
5984ALIGN="RIGHT"
5985VALIGN="TOP"
5986><I
5987CLASS="EMPHASIS"
5988>Returns</I
5989> :</TD
5990><TD
5991WIDTH="80%"
5992ALIGN="LEFT"
5993VALIGN="TOP"
5994>the encoding value or NULL</TD
5995></TR
5996></TABLE
5997><P
5998></P
5999></DIV
6000></DIV
6001><HR><DIV
6002CLASS="REFSECT2"
6003><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006004NAME="AEN5974"
Daniel Veillard35925471999-02-25 08:46:07 +00006005></A
6006><H3
6007><A
6008NAME="XMLPARSESDDECL"
6009></A
6010>xmlParseSDDecl()</H3
6011><TABLE
6012BORDER="0"
6013BGCOLOR="#E8E8F8"
6014WIDTH="100%"
6015CELLPADDING="6"
6016><TR
6017><TD
6018><PRE
6019CLASS="PROGRAMLISTING"
6020>int xmlParseSDDecl (<A
6021HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6022>xmlParserCtxtPtr</A
6023> ctxt);</PRE
6024></TD
6025></TR
6026></TABLE
6027><P
6028>parse the XML standalone declaration</P
6029><P
6030>[32] SDDecl ::= S 'standalone' Eq
6031(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))</P
6032><P
6033></P
6034><DIV
6035CLASS="INFORMALTABLE"
6036><P
6037></P
6038><TABLE
6039BORDER="0"
6040WIDTH="100%"
6041BGCOLOR="#FFE0E0"
6042CELLSPACING="0"
6043CELLPADDING="4"
6044CLASS="CALSTABLE"
6045><TR
6046><TD
6047WIDTH="20%"
6048ALIGN="RIGHT"
6049VALIGN="TOP"
6050><TT
6051CLASS="PARAMETER"
6052><I
6053>ctxt</I
6054></TT
6055>&nbsp;:</TD
6056><TD
6057WIDTH="80%"
6058ALIGN="LEFT"
6059VALIGN="TOP"
6060> an XML parser context</TD
6061></TR
6062><TR
6063><TD
6064WIDTH="20%"
6065ALIGN="RIGHT"
6066VALIGN="TOP"
6067><I
6068CLASS="EMPHASIS"
6069>Returns</I
6070> :</TD
6071><TD
6072WIDTH="80%"
6073ALIGN="LEFT"
6074VALIGN="TOP"
6075>1 if standalone, 0 otherwise</TD
6076></TR
6077></TABLE
6078><P
6079></P
6080></DIV
6081></DIV
6082><HR><DIV
6083CLASS="REFSECT2"
6084><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006085NAME="AEN5995"
Daniel Veillard35925471999-02-25 08:46:07 +00006086></A
6087><H3
6088><A
6089NAME="XMLPARSEXMLDECL"
6090></A
6091>xmlParseXMLDecl()</H3
6092><TABLE
6093BORDER="0"
6094BGCOLOR="#E8E8F8"
6095WIDTH="100%"
6096CELLPADDING="6"
6097><TR
6098><TD
6099><PRE
6100CLASS="PROGRAMLISTING"
6101>void xmlParseXMLDecl (<A
6102HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6103>xmlParserCtxtPtr</A
6104> ctxt);</PRE
6105></TD
6106></TR
6107></TABLE
6108><P
6109>parse an XML declaration header</P
6110><P
6111>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
6112><P
6113></P
6114><DIV
6115CLASS="INFORMALTABLE"
6116><P
6117></P
6118><TABLE
6119BORDER="0"
6120WIDTH="100%"
6121BGCOLOR="#FFE0E0"
6122CELLSPACING="0"
6123CELLPADDING="4"
6124CLASS="CALSTABLE"
6125><TR
6126><TD
6127WIDTH="20%"
6128ALIGN="RIGHT"
6129VALIGN="TOP"
6130><TT
6131CLASS="PARAMETER"
6132><I
6133>ctxt</I
6134></TT
6135>&nbsp;:</TD
6136><TD
6137WIDTH="80%"
6138ALIGN="LEFT"
6139VALIGN="TOP"
6140> an XML parser context</TD
6141></TR
6142></TABLE
6143><P
6144></P
6145></DIV
6146></DIV
6147><HR><DIV
6148CLASS="REFSECT2"
6149><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00006150NAME="AEN6012"
Daniel Veillard35925471999-02-25 08:46:07 +00006151></A
6152><H3
6153><A
6154NAME="XMLPARSEMISC"
6155></A
6156>xmlParseMisc()</H3
6157><TABLE
6158BORDER="0"
6159BGCOLOR="#E8E8F8"
6160WIDTH="100%"
6161CELLPADDING="6"
6162><TR
6163><TD
6164><PRE
6165CLASS="PROGRAMLISTING"
6166>void xmlParseMisc (<A
6167HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6168>xmlParserCtxtPtr</A
6169> ctxt);</PRE
6170></TD
6171></TR
6172></TABLE
6173><P
6174>parse an XML Misc* optionnal field.</P
6175><P
6176>[27] Misc ::= Comment | PI | S</P
6177><P
6178></P
6179><DIV
6180CLASS="INFORMALTABLE"
6181><P
6182></P
6183><TABLE
6184BORDER="0"
6185WIDTH="100%"
6186BGCOLOR="#FFE0E0"
6187CELLSPACING="0"
6188CELLPADDING="4"
6189CLASS="CALSTABLE"
6190><TR
6191><TD
6192WIDTH="20%"
6193ALIGN="RIGHT"
6194VALIGN="TOP"
6195><TT
6196CLASS="PARAMETER"
6197><I
6198>ctxt</I
6199></TT
6200>&nbsp;:</TD
6201><TD
6202WIDTH="80%"
6203ALIGN="LEFT"
6204VALIGN="TOP"
6205> an XML parser context</TD
6206></TR
6207></TABLE
6208><P
6209></P
6210></DIV
6211></DIV
6212></DIV
6213><DIV
6214CLASS="NAVFOOTER"
6215><HR
6216ALIGN="LEFT"
6217WIDTH="100%"><TABLE
6218WIDTH="100%"
6219BORDER="0"
6220CELLPADDING="0"
6221CELLSPACING="0"
6222><TR
6223><TD
6224WIDTH="33%"
6225ALIGN="left"
6226VALIGN="top"
6227><A
Daniel Veillardd109e371999-03-05 06:26:45 +00006228HREF="gnome-xml-xml-error.html"
Daniel Veillard35925471999-02-25 08:46:07 +00006229>Prev</A
6230></TD
6231><TD
6232WIDTH="34%"
6233ALIGN="center"
6234VALIGN="top"
6235><A
6236HREF="book1.html"
6237>Home</A
6238></TD
6239><TD
6240WIDTH="33%"
6241ALIGN="right"
6242VALIGN="top"
6243>&nbsp;</TD
6244></TR
6245><TR
6246><TD
6247WIDTH="33%"
6248ALIGN="left"
6249VALIGN="top"
Daniel Veillardd109e371999-03-05 06:26:45 +00006250>xml-error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006251><TD
6252WIDTH="34%"
6253ALIGN="center"
6254VALIGN="top"
6255><A
6256HREF="libxml.html"
6257>Up</A
6258></TD
6259><TD
6260WIDTH="33%"
6261ALIGN="right"
6262VALIGN="top"
6263>&nbsp;</TD
6264></TR
6265></TABLE
6266></DIV
6267></BODY
6268></HTML
6269>