blob: 2820888752d4a98f70b557e16fc2a3576bf5ed59 [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"
15TITLE="error"
16HREF="gnome-xml-error.html"></HEAD
17><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
39HREF="gnome-xml-error.html"
40>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
62NAME="AEN3919"
63></A
64><H2
65>Name</H2
66>parserInternals &#8212; one line description goes here.</DIV
67><DIV
68CLASS="REFSYNOPSISDIV"
69><A
70NAME="AEN3922"
71></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
85void <A
86HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
87>xmlHandleEntity</A
88> (<A
89HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
90>xmlParserCtxtPtr</A
91> ctxt,
92 <A
93HREF="gnome-xml-entities.html#XMLENTITYPTR"
94>xmlEntityPtr</A
95> entity);
96<A
97HREF="gnome-xml-tree.html#CHAR"
98>CHAR</A
99>* <A
100HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
101>xmlNamespaceParseNCName</A
102> (<A
103HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
104>xmlParserCtxtPtr</A
105> ctxt);
106<A
107HREF="gnome-xml-tree.html#CHAR"
108>CHAR</A
109>* <A
110HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
111>xmlNamespaceParseQName</A
112> (<A
113HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
114>xmlParserCtxtPtr</A
115> ctxt,
116 <A
117HREF="gnome-xml-tree.html#CHAR"
118>CHAR</A
119> **prefix);
120<A
121HREF="gnome-xml-tree.html#CHAR"
122>CHAR</A
123>* <A
124HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
125>xmlNamespaceParseNSDef</A
126> (<A
127HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
128>xmlParserCtxtPtr</A
129> ctxt);
130<A
131HREF="gnome-xml-tree.html#CHAR"
132>CHAR</A
133>* <A
134HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
135>xmlParseQuotedString</A
136> (<A
137HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
138>xmlParserCtxtPtr</A
139> ctxt);
140void <A
141HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
142>xmlParseNamespace</A
143> (<A
144HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
145>xmlParserCtxtPtr</A
146> ctxt);
147<A
148HREF="gnome-xml-tree.html#CHAR"
149>CHAR</A
150>* <A
151HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
152>xmlParseName</A
153> (<A
154HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
155>xmlParserCtxtPtr</A
156> ctxt);
157<A
158HREF="gnome-xml-tree.html#CHAR"
159>CHAR</A
160>* <A
161HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
162>xmlParseNmtoken</A
163> (<A
164HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
165>xmlParserCtxtPtr</A
166> ctxt);
167<A
168HREF="gnome-xml-tree.html#CHAR"
169>CHAR</A
170>* <A
171HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
172>xmlParseEntityValue</A
173> (<A
174HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
175>xmlParserCtxtPtr</A
176> ctxt);
177<A
178HREF="gnome-xml-tree.html#CHAR"
179>CHAR</A
180>* <A
181HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
182>xmlParseAttValue</A
183> (<A
184HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
185>xmlParserCtxtPtr</A
186> ctxt);
187<A
188HREF="gnome-xml-tree.html#CHAR"
189>CHAR</A
190>* <A
191HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
192>xmlParseSystemLiteral</A
193> (<A
194HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
195>xmlParserCtxtPtr</A
196> ctxt);
197<A
198HREF="gnome-xml-tree.html#CHAR"
199>CHAR</A
200>* <A
201HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
202>xmlParsePubidLiteral</A
203> (<A
204HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
205>xmlParserCtxtPtr</A
206> ctxt);
207void <A
208HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
209>xmlParseCharData</A
210> (<A
211HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
212>xmlParserCtxtPtr</A
213> ctxt,
214 int cdata);
215<A
216HREF="gnome-xml-tree.html#CHAR"
217>CHAR</A
218>* <A
219HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
220>xmlParseExternalID</A
221> (<A
222HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
223>xmlParserCtxtPtr</A
224> ctxt,
225 <A
226HREF="gnome-xml-tree.html#CHAR"
227>CHAR</A
228> **publicID,
229 int strict);
230<A
231HREF="gnome-xml-tree.html#XMLNODEPTR"
232>xmlNodePtr</A
233> <A
234HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
235>xmlParseComment</A
236> (<A
237HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
238>xmlParserCtxtPtr</A
239> ctxt,
240 int create);
241<A
242HREF="gnome-xml-tree.html#CHAR"
243>CHAR</A
244>* <A
245HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
246>xmlParsePITarget</A
247> (<A
248HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
249>xmlParserCtxtPtr</A
250> ctxt);
251void <A
252HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
253>xmlParsePI</A
254> (<A
255HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
256>xmlParserCtxtPtr</A
257> ctxt);
258void <A
259HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
260>xmlParseNotationDecl</A
261> (<A
262HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
263>xmlParserCtxtPtr</A
264> ctxt);
265void <A
266HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
267>xmlParseEntityDecl</A
268> (<A
269HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
270>xmlParserCtxtPtr</A
271> ctxt);
272int <A
273HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
274>xmlParseDefaultDecl</A
275> (<A
276HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
277>xmlParserCtxtPtr</A
278> ctxt,
279 <A
280HREF="gnome-xml-tree.html#CHAR"
281>CHAR</A
282> **value);
283<A
284HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
285>xmlEnumerationPtr</A
286> <A
287HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
288>xmlParseNotationType</A
289> (<A
290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
291>xmlParserCtxtPtr</A
292> ctxt);
293<A
294HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
295>xmlEnumerationPtr</A
296> <A
297HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
298>xmlParseEnumerationType</A
299> (<A
300HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
301>xmlParserCtxtPtr</A
302> ctxt);
303int <A
304HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
305>xmlParseEnumeratedType</A
306> (<A
307HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
308>xmlParserCtxtPtr</A
309> ctxt,
310 <A
311HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
312>xmlEnumerationPtr</A
313> *tree);
314int <A
315HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
316>xmlParseAttributeType</A
317> (<A
318HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
319>xmlParserCtxtPtr</A
320> ctxt,
321 <A
322HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
323>xmlEnumerationPtr</A
324> *tree);
325void <A
326HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
327>xmlParseAttributeListDecl</A
328> (<A
329HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
330>xmlParserCtxtPtr</A
331> ctxt);
332<A
333HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
334>xmlElementContentPtr</A
335> <A
336HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
337>xmlParseElementMixedContentDecl</A
338>
339 (<A
340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
341>xmlParserCtxtPtr</A
342> ctxt);
343<A
344HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
345>xmlElementContentPtr</A
346> <A
347HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
348>xmlParseElementChildrenContentDecl</A
349>
350 (<A
351HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
352>xmlParserCtxtPtr</A
353> ctxt);
354int <A
355HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
356>xmlParseElementContentDecl</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> *name,
365 <A
366HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
367>xmlElementContentPtr</A
368> *result);
369int <A
370HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
371>xmlParseElementDecl</A
372> (<A
373HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
374>xmlParserCtxtPtr</A
375> ctxt);
376void <A
377HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
378>xmlParseMarkupDecl</A
379> (<A
380HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
381>xmlParserCtxtPtr</A
382> ctxt);
383<A
384HREF="gnome-xml-tree.html#CHAR"
385>CHAR</A
386>* <A
387HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
388>xmlParseCharRef</A
389> (<A
390HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
391>xmlParserCtxtPtr</A
392> ctxt);
393<A
394HREF="gnome-xml-tree.html#CHAR"
395>CHAR</A
396>* <A
397HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
398>xmlParseEntityRef</A
399> (<A
400HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
401>xmlParserCtxtPtr</A
402> ctxt);
403<A
404HREF="gnome-xml-tree.html#CHAR"
405>CHAR</A
406>* <A
407HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
408>xmlParseReference</A
409> (<A
410HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
411>xmlParserCtxtPtr</A
412> ctxt);
413<A
414HREF="gnome-xml-tree.html#CHAR"
415>CHAR</A
416>* <A
417HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
418>xmlParsePEReference</A
419> (<A
420HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
421>xmlParserCtxtPtr</A
422> ctxt);
423void <A
424HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
425>xmlParseDocTypeDecl</A
426> (<A
427HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
428>xmlParserCtxtPtr</A
429> ctxt);
430<A
431HREF="gnome-xml-tree.html#XMLATTRPTR"
432>xmlAttrPtr</A
433> <A
434HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
435>xmlParseAttribute</A
436> (<A
437HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
438>xmlParserCtxtPtr</A
439> ctxt,
440 <A
441HREF="gnome-xml-tree.html#XMLNODEPTR"
442>xmlNodePtr</A
443> node);
444<A
445HREF="gnome-xml-tree.html#XMLNODEPTR"
446>xmlNodePtr</A
447> <A
448HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
449>xmlParseStartTag</A
450> (<A
451HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
452>xmlParserCtxtPtr</A
453> ctxt);
454void <A
455HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
456>xmlParseEndTag</A
457> (<A
458HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
459>xmlParserCtxtPtr</A
460> ctxt,
461 <A
462HREF="gnome-xml-tree.html#XMLNSPTR"
463>xmlNsPtr</A
464> *nsPtr,
465 <A
466HREF="gnome-xml-tree.html#CHAR"
467>CHAR</A
468> **tagPtr);
469void <A
470HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
471>xmlParseCDSect</A
472> (<A
473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
474>xmlParserCtxtPtr</A
475> ctxt);
476void <A
477HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
478>xmlParseContent</A
479> (<A
480HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
481>xmlParserCtxtPtr</A
482> ctxt);
483<A
484HREF="gnome-xml-tree.html#XMLNODEPTR"
485>xmlNodePtr</A
486> <A
487HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
488>xmlParseElement</A
489> (<A
490HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
491>xmlParserCtxtPtr</A
492> ctxt);
493<A
494HREF="gnome-xml-tree.html#CHAR"
495>CHAR</A
496>* <A
497HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
498>xmlParseVersionNum</A
499> (<A
500HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
501>xmlParserCtxtPtr</A
502> ctxt);
503<A
504HREF="gnome-xml-tree.html#CHAR"
505>CHAR</A
506>* <A
507HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
508>xmlParseVersionInfo</A
509> (<A
510HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
511>xmlParserCtxtPtr</A
512> ctxt);
513<A
514HREF="gnome-xml-tree.html#CHAR"
515>CHAR</A
516>* <A
517HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
518>xmlParseEncName</A
519> (<A
520HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
521>xmlParserCtxtPtr</A
522> ctxt);
523<A
524HREF="gnome-xml-tree.html#CHAR"
525>CHAR</A
526>* <A
527HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
528>xmlParseEncodingDecl</A
529> (<A
530HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
531>xmlParserCtxtPtr</A
532> ctxt);
533int <A
534HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
535>xmlParseSDDecl</A
536> (<A
537HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
538>xmlParserCtxtPtr</A
539> ctxt);
540void <A
541HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
542>xmlParseXMLDecl</A
543> (<A
544HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
545>xmlParserCtxtPtr</A
546> ctxt);
547void <A
548HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
549>xmlParseMisc</A
550> (<A
551HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
552>xmlParserCtxtPtr</A
553> ctxt);</PRE
554></TD
555></TR
556></TABLE
557></DIV
558><DIV
559CLASS="REFSECT1"
560><A
561NAME="AEN4060"
562></A
563><H2
564>Description</H2
565><P
566></P
567></DIV
568><DIV
569CLASS="REFSECT1"
570><A
571NAME="AEN4063"
572></A
573><H2
574>Details</H2
575><HR><DIV
576CLASS="REFSECT2"
577><A
578NAME="AEN4065"
579></A
580><H3
581><A
582NAME="XMLHANDLEENTITY"
583></A
584>xmlHandleEntity()</H3
585><TABLE
586BORDER="0"
587BGCOLOR="#E8E8F8"
588WIDTH="100%"
589CELLPADDING="6"
590><TR
591><TD
592><PRE
593CLASS="PROGRAMLISTING"
594>void xmlHandleEntity (<A
595HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
596>xmlParserCtxtPtr</A
597> ctxt,
598 <A
599HREF="gnome-xml-entities.html#XMLENTITYPTR"
600>xmlEntityPtr</A
601> entity);</PRE
602></TD
603></TR
604></TABLE
605><P
606>Default handling of defined entities, when should we define a new input
607stream ? When do we just handle that as a set of chars ?
608TODO: we should call the SAX handler here and have it resolve the issue</P
609><P
610></P
611><DIV
612CLASS="INFORMALTABLE"
613><P
614></P
615><TABLE
616BORDER="0"
617WIDTH="100%"
618BGCOLOR="#FFE0E0"
619CELLSPACING="0"
620CELLPADDING="4"
621CLASS="CALSTABLE"
622><TR
623><TD
624WIDTH="20%"
625ALIGN="RIGHT"
626VALIGN="TOP"
627><TT
628CLASS="PARAMETER"
629><I
630>ctxt</I
631></TT
632>&nbsp;:</TD
633><TD
634WIDTH="80%"
635ALIGN="LEFT"
636VALIGN="TOP"
637> an XML parser context</TD
638></TR
639><TR
640><TD
641WIDTH="20%"
642ALIGN="RIGHT"
643VALIGN="TOP"
644><TT
645CLASS="PARAMETER"
646><I
647>entity</I
648></TT
649>&nbsp;:</TD
650><TD
651WIDTH="80%"
652ALIGN="LEFT"
653VALIGN="TOP"
654> an XML entity pointer.</TD
655></TR
656></TABLE
657><P
658></P
659></DIV
660></DIV
661><HR><DIV
662CLASS="REFSECT2"
663><A
664NAME="AEN4086"
665></A
666><H3
667><A
668NAME="XMLNAMESPACEPARSENCNAME"
669></A
670>xmlNamespaceParseNCName()</H3
671><TABLE
672BORDER="0"
673BGCOLOR="#E8E8F8"
674WIDTH="100%"
675CELLPADDING="6"
676><TR
677><TD
678><PRE
679CLASS="PROGRAMLISTING"
680><A
681HREF="gnome-xml-tree.html#CHAR"
682>CHAR</A
683>* xmlNamespaceParseNCName (<A
684HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
685>xmlParserCtxtPtr</A
686> ctxt);</PRE
687></TD
688></TR
689></TABLE
690><P
691>parse an XML namespace name.</P
692><P
693>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
694><P
695>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
696CombiningChar | Extender</P
697><P
698></P
699><DIV
700CLASS="INFORMALTABLE"
701><P
702></P
703><TABLE
704BORDER="0"
705WIDTH="100%"
706BGCOLOR="#FFE0E0"
707CELLSPACING="0"
708CELLPADDING="4"
709CLASS="CALSTABLE"
710><TR
711><TD
712WIDTH="20%"
713ALIGN="RIGHT"
714VALIGN="TOP"
715><TT
716CLASS="PARAMETER"
717><I
718>ctxt</I
719></TT
720>&nbsp;:</TD
721><TD
722WIDTH="80%"
723ALIGN="LEFT"
724VALIGN="TOP"
725> an XML parser context</TD
726></TR
727><TR
728><TD
729WIDTH="20%"
730ALIGN="RIGHT"
731VALIGN="TOP"
732><I
733CLASS="EMPHASIS"
734>Returns</I
735> :</TD
736><TD
737WIDTH="80%"
738ALIGN="LEFT"
739VALIGN="TOP"
740>the namespace name or NULL</TD
741></TR
742></TABLE
743><P
744></P
745></DIV
746></DIV
747><HR><DIV
748CLASS="REFSECT2"
749><A
750NAME="AEN4109"
751></A
752><H3
753><A
754NAME="XMLNAMESPACEPARSEQNAME"
755></A
756>xmlNamespaceParseQName()</H3
757><TABLE
758BORDER="0"
759BGCOLOR="#E8E8F8"
760WIDTH="100%"
761CELLPADDING="6"
762><TR
763><TD
764><PRE
765CLASS="PROGRAMLISTING"
766><A
767HREF="gnome-xml-tree.html#CHAR"
768>CHAR</A
769>* xmlNamespaceParseQName (<A
770HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
771>xmlParserCtxtPtr</A
772> ctxt,
773 <A
774HREF="gnome-xml-tree.html#CHAR"
775>CHAR</A
776> **prefix);</PRE
777></TD
778></TR
779></TABLE
780><P
781>parse an XML qualified name</P
782><P
783>[NS 5] QName ::= (Prefix ':')? LocalPart</P
784><P
785>[NS 6] Prefix ::= NCName</P
786><P
787>[NS 7] LocalPart ::= NCName</P
788><P
789></P
790><DIV
791CLASS="INFORMALTABLE"
792><P
793></P
794><TABLE
795BORDER="0"
796WIDTH="100%"
797BGCOLOR="#FFE0E0"
798CELLSPACING="0"
799CELLPADDING="4"
800CLASS="CALSTABLE"
801><TR
802><TD
803WIDTH="20%"
804ALIGN="RIGHT"
805VALIGN="TOP"
806><TT
807CLASS="PARAMETER"
808><I
809>ctxt</I
810></TT
811>&nbsp;:</TD
812><TD
813WIDTH="80%"
814ALIGN="LEFT"
815VALIGN="TOP"
816> an XML parser context</TD
817></TR
818><TR
819><TD
820WIDTH="20%"
821ALIGN="RIGHT"
822VALIGN="TOP"
823><TT
824CLASS="PARAMETER"
825><I
826>prefix</I
827></TT
828>&nbsp;:</TD
829><TD
830WIDTH="80%"
831ALIGN="LEFT"
832VALIGN="TOP"
833> a CHAR ** </TD
834></TR
835><TR
836><TD
837WIDTH="20%"
838ALIGN="RIGHT"
839VALIGN="TOP"
840><I
841CLASS="EMPHASIS"
842>Returns</I
843> :</TD
844><TD
845WIDTH="80%"
846ALIGN="LEFT"
847VALIGN="TOP"
848>the function returns the local part, and prefix is updated
849to get the Prefix if any.</TD
850></TR
851></TABLE
852><P
853></P
854></DIV
855></DIV
856><HR><DIV
857CLASS="REFSECT2"
858><A
859NAME="AEN4138"
860></A
861><H3
862><A
863NAME="XMLNAMESPACEPARSENSDEF"
864></A
865>xmlNamespaceParseNSDef()</H3
866><TABLE
867BORDER="0"
868BGCOLOR="#E8E8F8"
869WIDTH="100%"
870CELLPADDING="6"
871><TR
872><TD
873><PRE
874CLASS="PROGRAMLISTING"
875><A
876HREF="gnome-xml-tree.html#CHAR"
877>CHAR</A
878>* xmlNamespaceParseNSDef (<A
879HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
880>xmlParserCtxtPtr</A
881> ctxt);</PRE
882></TD
883></TR
884></TABLE
885><P
886>parse a namespace prefix declaration</P
887><P
888>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
889><P
890>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
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>ctxt</I
913></TT
914>&nbsp;:</TD
915><TD
916WIDTH="80%"
917ALIGN="LEFT"
918VALIGN="TOP"
919> an XML parser context</TD
920></TR
921><TR
922><TD
923WIDTH="20%"
924ALIGN="RIGHT"
925VALIGN="TOP"
926><I
927CLASS="EMPHASIS"
928>Returns</I
929> :</TD
930><TD
931WIDTH="80%"
932ALIGN="LEFT"
933VALIGN="TOP"
934>the namespace name</TD
935></TR
936></TABLE
937><P
938></P
939></DIV
940></DIV
941><HR><DIV
942CLASS="REFSECT2"
943><A
944NAME="AEN4161"
945></A
946><H3
947><A
948NAME="XMLPARSEQUOTEDSTRING"
949></A
950>xmlParseQuotedString()</H3
951><TABLE
952BORDER="0"
953BGCOLOR="#E8E8F8"
954WIDTH="100%"
955CELLPADDING="6"
956><TR
957><TD
958><PRE
959CLASS="PROGRAMLISTING"
960><A
961HREF="gnome-xml-tree.html#CHAR"
962>CHAR</A
963>* xmlParseQuotedString (<A
964HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
965>xmlParserCtxtPtr</A
966> ctxt);</PRE
967></TD
968></TR
969></TABLE
970><P
971>[OLD] Parse and return a string between quotes or doublequotes</P
972><P
973></P
974><DIV
975CLASS="INFORMALTABLE"
976><P
977></P
978><TABLE
979BORDER="0"
980WIDTH="100%"
981BGCOLOR="#FFE0E0"
982CELLSPACING="0"
983CELLPADDING="4"
984CLASS="CALSTABLE"
985><TR
986><TD
987WIDTH="20%"
988ALIGN="RIGHT"
989VALIGN="TOP"
990><TT
991CLASS="PARAMETER"
992><I
993>ctxt</I
994></TT
995>&nbsp;:</TD
996><TD
997WIDTH="80%"
998ALIGN="LEFT"
999VALIGN="TOP"
1000> an XML parser context</TD
1001></TR
1002><TR
1003><TD
1004WIDTH="20%"
1005ALIGN="RIGHT"
1006VALIGN="TOP"
1007><I
1008CLASS="EMPHASIS"
1009>Returns</I
1010> :</TD
1011><TD
1012WIDTH="80%"
1013ALIGN="LEFT"
1014VALIGN="TOP"
1015>the string parser or NULL.</TD
1016></TR
1017></TABLE
1018><P
1019></P
1020></DIV
1021></DIV
1022><HR><DIV
1023CLASS="REFSECT2"
1024><A
1025NAME="AEN4182"
1026></A
1027><H3
1028><A
1029NAME="XMLPARSENAMESPACE"
1030></A
1031>xmlParseNamespace()</H3
1032><TABLE
1033BORDER="0"
1034BGCOLOR="#E8E8F8"
1035WIDTH="100%"
1036CELLPADDING="6"
1037><TR
1038><TD
1039><PRE
1040CLASS="PROGRAMLISTING"
1041>void xmlParseNamespace (<A
1042HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1043>xmlParserCtxtPtr</A
1044> ctxt);</PRE
1045></TD
1046></TR
1047></TABLE
1048><P
1049>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
1050><P
1051>This is what the older xml-name Working Draft specified, a bunch of
1052other stuff may still rely on it, so support is still here as
1053if ot was declared on the root of the Tree:-(</P
1054><P
1055></P
1056><DIV
1057CLASS="INFORMALTABLE"
1058><P
1059></P
1060><TABLE
1061BORDER="0"
1062WIDTH="100%"
1063BGCOLOR="#FFE0E0"
1064CELLSPACING="0"
1065CELLPADDING="4"
1066CLASS="CALSTABLE"
1067><TR
1068><TD
1069WIDTH="20%"
1070ALIGN="RIGHT"
1071VALIGN="TOP"
1072><TT
1073CLASS="PARAMETER"
1074><I
1075>ctxt</I
1076></TT
1077>&nbsp;:</TD
1078><TD
1079WIDTH="80%"
1080ALIGN="LEFT"
1081VALIGN="TOP"
1082> an XML parser context</TD
1083></TR
1084></TABLE
1085><P
1086></P
1087></DIV
1088></DIV
1089><HR><DIV
1090CLASS="REFSECT2"
1091><A
1092NAME="AEN4199"
1093></A
1094><H3
1095><A
1096NAME="XMLPARSENAME"
1097></A
1098>xmlParseName()</H3
1099><TABLE
1100BORDER="0"
1101BGCOLOR="#E8E8F8"
1102WIDTH="100%"
1103CELLPADDING="6"
1104><TR
1105><TD
1106><PRE
1107CLASS="PROGRAMLISTING"
1108><A
1109HREF="gnome-xml-tree.html#CHAR"
1110>CHAR</A
1111>* xmlParseName (<A
1112HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1113>xmlParserCtxtPtr</A
1114> ctxt);</PRE
1115></TD
1116></TR
1117></TABLE
1118><P
1119>parse an XML name.</P
1120><P
1121>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
1122CombiningChar | Extender</P
1123><P
1124>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
1125><P
1126>[6] Names ::= Name (S Name)*</P
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>ctxt</I
1149></TT
1150>&nbsp;:</TD
1151><TD
1152WIDTH="80%"
1153ALIGN="LEFT"
1154VALIGN="TOP"
1155> an XML parser context</TD
1156></TR
1157><TR
1158><TD
1159WIDTH="20%"
1160ALIGN="RIGHT"
1161VALIGN="TOP"
1162><I
1163CLASS="EMPHASIS"
1164>Returns</I
1165> :</TD
1166><TD
1167WIDTH="80%"
1168ALIGN="LEFT"
1169VALIGN="TOP"
1170>the Name parsed or NULL</TD
1171></TR
1172></TABLE
1173><P
1174></P
1175></DIV
1176></DIV
1177><HR><DIV
1178CLASS="REFSECT2"
1179><A
1180NAME="AEN4223"
1181></A
1182><H3
1183><A
1184NAME="XMLPARSENMTOKEN"
1185></A
1186>xmlParseNmtoken()</H3
1187><TABLE
1188BORDER="0"
1189BGCOLOR="#E8E8F8"
1190WIDTH="100%"
1191CELLPADDING="6"
1192><TR
1193><TD
1194><PRE
1195CLASS="PROGRAMLISTING"
1196><A
1197HREF="gnome-xml-tree.html#CHAR"
1198>CHAR</A
1199>* xmlParseNmtoken (<A
1200HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1201>xmlParserCtxtPtr</A
1202> ctxt);</PRE
1203></TD
1204></TR
1205></TABLE
1206><P
1207>parse an XML Nmtoken.</P
1208><P
1209>[7] Nmtoken ::= (NameChar)+</P
1210><P
1211>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
1212><P
1213></P
1214><DIV
1215CLASS="INFORMALTABLE"
1216><P
1217></P
1218><TABLE
1219BORDER="0"
1220WIDTH="100%"
1221BGCOLOR="#FFE0E0"
1222CELLSPACING="0"
1223CELLPADDING="4"
1224CLASS="CALSTABLE"
1225><TR
1226><TD
1227WIDTH="20%"
1228ALIGN="RIGHT"
1229VALIGN="TOP"
1230><TT
1231CLASS="PARAMETER"
1232><I
1233>ctxt</I
1234></TT
1235>&nbsp;:</TD
1236><TD
1237WIDTH="80%"
1238ALIGN="LEFT"
1239VALIGN="TOP"
1240> an XML parser context</TD
1241></TR
1242><TR
1243><TD
1244WIDTH="20%"
1245ALIGN="RIGHT"
1246VALIGN="TOP"
1247><I
1248CLASS="EMPHASIS"
1249>Returns</I
1250> :</TD
1251><TD
1252WIDTH="80%"
1253ALIGN="LEFT"
1254VALIGN="TOP"
1255>the Nmtoken parsed or NULL</TD
1256></TR
1257></TABLE
1258><P
1259></P
1260></DIV
1261></DIV
1262><HR><DIV
1263CLASS="REFSECT2"
1264><A
1265NAME="AEN4246"
1266></A
1267><H3
1268><A
1269NAME="XMLPARSEENTITYVALUE"
1270></A
1271>xmlParseEntityValue()</H3
1272><TABLE
1273BORDER="0"
1274BGCOLOR="#E8E8F8"
1275WIDTH="100%"
1276CELLPADDING="6"
1277><TR
1278><TD
1279><PRE
1280CLASS="PROGRAMLISTING"
1281><A
1282HREF="gnome-xml-tree.html#CHAR"
1283>CHAR</A
1284>* xmlParseEntityValue (<A
1285HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1286>xmlParserCtxtPtr</A
1287> ctxt);</PRE
1288></TD
1289></TR
1290></TABLE
1291><P
1292>parse a value for ENTITY decl.</P
1293><P
1294>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
1295"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
1296><P
1297></P
1298><DIV
1299CLASS="INFORMALTABLE"
1300><P
1301></P
1302><TABLE
1303BORDER="0"
1304WIDTH="100%"
1305BGCOLOR="#FFE0E0"
1306CELLSPACING="0"
1307CELLPADDING="4"
1308CLASS="CALSTABLE"
1309><TR
1310><TD
1311WIDTH="20%"
1312ALIGN="RIGHT"
1313VALIGN="TOP"
1314><TT
1315CLASS="PARAMETER"
1316><I
1317>ctxt</I
1318></TT
1319>&nbsp;:</TD
1320><TD
1321WIDTH="80%"
1322ALIGN="LEFT"
1323VALIGN="TOP"
1324> an XML parser context</TD
1325></TR
1326><TR
1327><TD
1328WIDTH="20%"
1329ALIGN="RIGHT"
1330VALIGN="TOP"
1331><I
1332CLASS="EMPHASIS"
1333>Returns</I
1334> :</TD
1335><TD
1336WIDTH="80%"
1337ALIGN="LEFT"
1338VALIGN="TOP"
1339>the EntityValue parsed or NULL</TD
1340></TR
1341></TABLE
1342><P
1343></P
1344></DIV
1345></DIV
1346><HR><DIV
1347CLASS="REFSECT2"
1348><A
1349NAME="AEN4268"
1350></A
1351><H3
1352><A
1353NAME="XMLPARSEATTVALUE"
1354></A
1355>xmlParseAttValue()</H3
1356><TABLE
1357BORDER="0"
1358BGCOLOR="#E8E8F8"
1359WIDTH="100%"
1360CELLPADDING="6"
1361><TR
1362><TD
1363><PRE
1364CLASS="PROGRAMLISTING"
1365><A
1366HREF="gnome-xml-tree.html#CHAR"
1367>CHAR</A
1368>* xmlParseAttValue (<A
1369HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1370>xmlParserCtxtPtr</A
1371> ctxt);</PRE
1372></TD
1373></TR
1374></TABLE
1375><P
1376>parse a value for an attribute</P
1377><P
1378>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
1379"'" ([^&lt;&amp;'] | Reference)* "'"</P
1380><P
1381></P
1382><DIV
1383CLASS="INFORMALTABLE"
1384><P
1385></P
1386><TABLE
1387BORDER="0"
1388WIDTH="100%"
1389BGCOLOR="#FFE0E0"
1390CELLSPACING="0"
1391CELLPADDING="4"
1392CLASS="CALSTABLE"
1393><TR
1394><TD
1395WIDTH="20%"
1396ALIGN="RIGHT"
1397VALIGN="TOP"
1398><TT
1399CLASS="PARAMETER"
1400><I
1401>ctxt</I
1402></TT
1403>&nbsp;:</TD
1404><TD
1405WIDTH="80%"
1406ALIGN="LEFT"
1407VALIGN="TOP"
1408> an XML parser context</TD
1409></TR
1410><TR
1411><TD
1412WIDTH="20%"
1413ALIGN="RIGHT"
1414VALIGN="TOP"
1415><I
1416CLASS="EMPHASIS"
1417>Returns</I
1418> :</TD
1419><TD
1420WIDTH="80%"
1421ALIGN="LEFT"
1422VALIGN="TOP"
1423>the AttValue parsed or NULL.</TD
1424></TR
1425></TABLE
1426><P
1427></P
1428></DIV
1429></DIV
1430><HR><DIV
1431CLASS="REFSECT2"
1432><A
1433NAME="AEN4290"
1434></A
1435><H3
1436><A
1437NAME="XMLPARSESYSTEMLITERAL"
1438></A
1439>xmlParseSystemLiteral()</H3
1440><TABLE
1441BORDER="0"
1442BGCOLOR="#E8E8F8"
1443WIDTH="100%"
1444CELLPADDING="6"
1445><TR
1446><TD
1447><PRE
1448CLASS="PROGRAMLISTING"
1449><A
1450HREF="gnome-xml-tree.html#CHAR"
1451>CHAR</A
1452>* xmlParseSystemLiteral (<A
1453HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1454>xmlParserCtxtPtr</A
1455> ctxt);</PRE
1456></TD
1457></TR
1458></TABLE
1459><P
1460>parse an XML Literal</P
1461><P
1462>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
1463><P
1464></P
1465><DIV
1466CLASS="INFORMALTABLE"
1467><P
1468></P
1469><TABLE
1470BORDER="0"
1471WIDTH="100%"
1472BGCOLOR="#FFE0E0"
1473CELLSPACING="0"
1474CELLPADDING="4"
1475CLASS="CALSTABLE"
1476><TR
1477><TD
1478WIDTH="20%"
1479ALIGN="RIGHT"
1480VALIGN="TOP"
1481><TT
1482CLASS="PARAMETER"
1483><I
1484>ctxt</I
1485></TT
1486>&nbsp;:</TD
1487><TD
1488WIDTH="80%"
1489ALIGN="LEFT"
1490VALIGN="TOP"
1491> an XML parser context</TD
1492></TR
1493><TR
1494><TD
1495WIDTH="20%"
1496ALIGN="RIGHT"
1497VALIGN="TOP"
1498><I
1499CLASS="EMPHASIS"
1500>Returns</I
1501> :</TD
1502><TD
1503WIDTH="80%"
1504ALIGN="LEFT"
1505VALIGN="TOP"
1506>the SystemLiteral parsed or NULL</TD
1507></TR
1508></TABLE
1509><P
1510></P
1511></DIV
1512></DIV
1513><HR><DIV
1514CLASS="REFSECT2"
1515><A
1516NAME="AEN4312"
1517></A
1518><H3
1519><A
1520NAME="XMLPARSEPUBIDLITERAL"
1521></A
1522>xmlParsePubidLiteral()</H3
1523><TABLE
1524BORDER="0"
1525BGCOLOR="#E8E8F8"
1526WIDTH="100%"
1527CELLPADDING="6"
1528><TR
1529><TD
1530><PRE
1531CLASS="PROGRAMLISTING"
1532><A
1533HREF="gnome-xml-tree.html#CHAR"
1534>CHAR</A
1535>* xmlParsePubidLiteral (<A
1536HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1537>xmlParserCtxtPtr</A
1538> ctxt);</PRE
1539></TD
1540></TR
1541></TABLE
1542><P
1543>parse an XML public literal</P
1544><P
1545>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
1546><P
1547></P
1548><DIV
1549CLASS="INFORMALTABLE"
1550><P
1551></P
1552><TABLE
1553BORDER="0"
1554WIDTH="100%"
1555BGCOLOR="#FFE0E0"
1556CELLSPACING="0"
1557CELLPADDING="4"
1558CLASS="CALSTABLE"
1559><TR
1560><TD
1561WIDTH="20%"
1562ALIGN="RIGHT"
1563VALIGN="TOP"
1564><TT
1565CLASS="PARAMETER"
1566><I
1567>ctxt</I
1568></TT
1569>&nbsp;:</TD
1570><TD
1571WIDTH="80%"
1572ALIGN="LEFT"
1573VALIGN="TOP"
1574> an XML parser context</TD
1575></TR
1576><TR
1577><TD
1578WIDTH="20%"
1579ALIGN="RIGHT"
1580VALIGN="TOP"
1581><I
1582CLASS="EMPHASIS"
1583>Returns</I
1584> :</TD
1585><TD
1586WIDTH="80%"
1587ALIGN="LEFT"
1588VALIGN="TOP"
1589>the PubidLiteral parsed or NULL.</TD
1590></TR
1591></TABLE
1592><P
1593></P
1594></DIV
1595></DIV
1596><HR><DIV
1597CLASS="REFSECT2"
1598><A
1599NAME="AEN4334"
1600></A
1601><H3
1602><A
1603NAME="XMLPARSECHARDATA"
1604></A
1605>xmlParseCharData()</H3
1606><TABLE
1607BORDER="0"
1608BGCOLOR="#E8E8F8"
1609WIDTH="100%"
1610CELLPADDING="6"
1611><TR
1612><TD
1613><PRE
1614CLASS="PROGRAMLISTING"
1615>void xmlParseCharData (<A
1616HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1617>xmlParserCtxtPtr</A
1618> ctxt,
1619 int cdata);</PRE
1620></TD
1621></TR
1622></TABLE
1623><P
1624>parse a CharData section.
1625if we are within a CDATA section ']]&gt;' marks an end of section.</P
1626><P
1627>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
1628><P
1629></P
1630><DIV
1631CLASS="INFORMALTABLE"
1632><P
1633></P
1634><TABLE
1635BORDER="0"
1636WIDTH="100%"
1637BGCOLOR="#FFE0E0"
1638CELLSPACING="0"
1639CELLPADDING="4"
1640CLASS="CALSTABLE"
1641><TR
1642><TD
1643WIDTH="20%"
1644ALIGN="RIGHT"
1645VALIGN="TOP"
1646><TT
1647CLASS="PARAMETER"
1648><I
1649>ctxt</I
1650></TT
1651>&nbsp;:</TD
1652><TD
1653WIDTH="80%"
1654ALIGN="LEFT"
1655VALIGN="TOP"
1656> an XML parser context</TD
1657></TR
1658><TR
1659><TD
1660WIDTH="20%"
1661ALIGN="RIGHT"
1662VALIGN="TOP"
1663><TT
1664CLASS="PARAMETER"
1665><I
1666>cdata</I
1667></TT
1668>&nbsp;:</TD
1669><TD
1670WIDTH="80%"
1671ALIGN="LEFT"
1672VALIGN="TOP"
1673> int indicating whether we are within a CDATA section</TD
1674></TR
1675></TABLE
1676><P
1677></P
1678></DIV
1679></DIV
1680><HR><DIV
1681CLASS="REFSECT2"
1682><A
1683NAME="AEN4355"
1684></A
1685><H3
1686><A
1687NAME="XMLPARSEEXTERNALID"
1688></A
1689>xmlParseExternalID()</H3
1690><TABLE
1691BORDER="0"
1692BGCOLOR="#E8E8F8"
1693WIDTH="100%"
1694CELLPADDING="6"
1695><TR
1696><TD
1697><PRE
1698CLASS="PROGRAMLISTING"
1699><A
1700HREF="gnome-xml-tree.html#CHAR"
1701>CHAR</A
1702>* xmlParseExternalID (<A
1703HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1704>xmlParserCtxtPtr</A
1705> ctxt,
1706 <A
1707HREF="gnome-xml-tree.html#CHAR"
1708>CHAR</A
1709> **publicID,
1710 int strict);</PRE
1711></TD
1712></TR
1713></TABLE
1714><P
1715>Parse an External ID or a Public ID</P
1716><P
1717>NOTE: Productions [75] and [83] interract badly since [75] can generate
1718'PUBLIC' S PubidLiteral S SystemLiteral</P
1719><P
1720>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
1721| 'PUBLIC' S PubidLiteral S SystemLiteral</P
1722><P
1723>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
1724><P
1725></P
1726><DIV
1727CLASS="INFORMALTABLE"
1728><P
1729></P
1730><TABLE
1731BORDER="0"
1732WIDTH="100%"
1733BGCOLOR="#FFE0E0"
1734CELLSPACING="0"
1735CELLPADDING="4"
1736CLASS="CALSTABLE"
1737><TR
1738><TD
1739WIDTH="20%"
1740ALIGN="RIGHT"
1741VALIGN="TOP"
1742><TT
1743CLASS="PARAMETER"
1744><I
1745>ctxt</I
1746></TT
1747>&nbsp;:</TD
1748><TD
1749WIDTH="80%"
1750ALIGN="LEFT"
1751VALIGN="TOP"
1752> an XML parser context</TD
1753></TR
1754><TR
1755><TD
1756WIDTH="20%"
1757ALIGN="RIGHT"
1758VALIGN="TOP"
1759><TT
1760CLASS="PARAMETER"
1761><I
1762>publicID</I
1763></TT
1764>&nbsp;:</TD
1765><TD
1766WIDTH="80%"
1767ALIGN="LEFT"
1768VALIGN="TOP"
1769> a CHAR** receiving PubidLiteral</TD
1770></TR
1771><TR
1772><TD
1773WIDTH="20%"
1774ALIGN="RIGHT"
1775VALIGN="TOP"
1776><TT
1777CLASS="PARAMETER"
1778><I
1779>strict</I
1780></TT
1781>&nbsp;:</TD
1782><TD
1783WIDTH="80%"
1784ALIGN="LEFT"
1785VALIGN="TOP"
1786> indicate whether we should restrict parsing to only
1787production [75], see NOTE below</TD
1788></TR
1789><TR
1790><TD
1791WIDTH="20%"
1792ALIGN="RIGHT"
1793VALIGN="TOP"
1794><I
1795CLASS="EMPHASIS"
1796>Returns</I
1797> :</TD
1798><TD
1799WIDTH="80%"
1800ALIGN="LEFT"
1801VALIGN="TOP"
1802>the function returns SystemLiteral and in the second
1803case publicID receives PubidLiteral, is strict is off
1804it is possible to return NULL and have publicID set.</TD
1805></TR
1806></TABLE
1807><P
1808></P
1809></DIV
1810></DIV
1811><HR><DIV
1812CLASS="REFSECT2"
1813><A
1814NAME="AEN4388"
1815></A
1816><H3
1817><A
1818NAME="XMLPARSECOMMENT"
1819></A
1820>xmlParseComment()</H3
1821><TABLE
1822BORDER="0"
1823BGCOLOR="#E8E8F8"
1824WIDTH="100%"
1825CELLPADDING="6"
1826><TR
1827><TD
1828><PRE
1829CLASS="PROGRAMLISTING"
1830><A
1831HREF="gnome-xml-tree.html#XMLNODEPTR"
1832>xmlNodePtr</A
1833> xmlParseComment (<A
1834HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1835>xmlParserCtxtPtr</A
1836> ctxt,
1837 int create);</PRE
1838></TD
1839></TR
1840></TABLE
1841><P
1842>Skip an XML (SGML) comment &lt;!-- .... --&gt;
1843This may or may not create a node (depending on the context)
1844The spec says that "For compatibility, the string "--" (double-hyphen)
1845must not occur within comments. "</P
1846><P
1847>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
1848><P
1849>TODO: this should call a SAX function which will handle (or not) the
1850creation of the comment !</P
1851><P
1852></P
1853><DIV
1854CLASS="INFORMALTABLE"
1855><P
1856></P
1857><TABLE
1858BORDER="0"
1859WIDTH="100%"
1860BGCOLOR="#FFE0E0"
1861CELLSPACING="0"
1862CELLPADDING="4"
1863CLASS="CALSTABLE"
1864><TR
1865><TD
1866WIDTH="20%"
1867ALIGN="RIGHT"
1868VALIGN="TOP"
1869><TT
1870CLASS="PARAMETER"
1871><I
1872>ctxt</I
1873></TT
1874>&nbsp;:</TD
1875><TD
1876WIDTH="80%"
1877ALIGN="LEFT"
1878VALIGN="TOP"
1879> an XML parser context</TD
1880></TR
1881><TR
1882><TD
1883WIDTH="20%"
1884ALIGN="RIGHT"
1885VALIGN="TOP"
1886><TT
1887CLASS="PARAMETER"
1888><I
1889>create</I
1890></TT
1891>&nbsp;:</TD
1892><TD
1893WIDTH="80%"
1894ALIGN="LEFT"
1895VALIGN="TOP"
1896> should we create a node, or just skip the content</TD
1897></TR
1898><TR
1899><TD
1900WIDTH="20%"
1901ALIGN="RIGHT"
1902VALIGN="TOP"
1903><I
1904CLASS="EMPHASIS"
1905>Returns</I
1906> :</TD
1907><TD
1908WIDTH="80%"
1909ALIGN="LEFT"
1910VALIGN="TOP"
1911>the comment node, or NULL</TD
1912></TR
1913></TABLE
1914><P
1915></P
1916></DIV
1917></DIV
1918><HR><DIV
1919CLASS="REFSECT2"
1920><A
1921NAME="AEN4415"
1922></A
1923><H3
1924><A
1925NAME="XMLPARSEPITARGET"
1926></A
1927>xmlParsePITarget()</H3
1928><TABLE
1929BORDER="0"
1930BGCOLOR="#E8E8F8"
1931WIDTH="100%"
1932CELLPADDING="6"
1933><TR
1934><TD
1935><PRE
1936CLASS="PROGRAMLISTING"
1937><A
1938HREF="gnome-xml-tree.html#CHAR"
1939>CHAR</A
1940>* xmlParsePITarget (<A
1941HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1942>xmlParserCtxtPtr</A
1943> ctxt);</PRE
1944></TD
1945></TR
1946></TABLE
1947><P
1948>parse the name of a PI</P
1949><P
1950>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
1951><P
1952></P
1953><DIV
1954CLASS="INFORMALTABLE"
1955><P
1956></P
1957><TABLE
1958BORDER="0"
1959WIDTH="100%"
1960BGCOLOR="#FFE0E0"
1961CELLSPACING="0"
1962CELLPADDING="4"
1963CLASS="CALSTABLE"
1964><TR
1965><TD
1966WIDTH="20%"
1967ALIGN="RIGHT"
1968VALIGN="TOP"
1969><TT
1970CLASS="PARAMETER"
1971><I
1972>ctxt</I
1973></TT
1974>&nbsp;:</TD
1975><TD
1976WIDTH="80%"
1977ALIGN="LEFT"
1978VALIGN="TOP"
1979> an XML parser context</TD
1980></TR
1981><TR
1982><TD
1983WIDTH="20%"
1984ALIGN="RIGHT"
1985VALIGN="TOP"
1986><I
1987CLASS="EMPHASIS"
1988>Returns</I
1989> :</TD
1990><TD
1991WIDTH="80%"
1992ALIGN="LEFT"
1993VALIGN="TOP"
1994>the PITarget name or NULL</TD
1995></TR
1996></TABLE
1997><P
1998></P
1999></DIV
2000></DIV
2001><HR><DIV
2002CLASS="REFSECT2"
2003><A
2004NAME="AEN4437"
2005></A
2006><H3
2007><A
2008NAME="XMLPARSEPI"
2009></A
2010>xmlParsePI()</H3
2011><TABLE
2012BORDER="0"
2013BGCOLOR="#E8E8F8"
2014WIDTH="100%"
2015CELLPADDING="6"
2016><TR
2017><TD
2018><PRE
2019CLASS="PROGRAMLISTING"
2020>void xmlParsePI (<A
2021HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2022>xmlParserCtxtPtr</A
2023> ctxt);</PRE
2024></TD
2025></TR
2026></TABLE
2027><P
2028>parse an XML Processing Instruction.</P
2029><P
2030>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
2031><P
2032>The processing is transfered to SAX once parsed.</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></TABLE
2064><P
2065></P
2066></DIV
2067></DIV
2068><HR><DIV
2069CLASS="REFSECT2"
2070><A
2071NAME="AEN4455"
2072></A
2073><H3
2074><A
2075NAME="XMLPARSENOTATIONDECL"
2076></A
2077>xmlParseNotationDecl()</H3
2078><TABLE
2079BORDER="0"
2080BGCOLOR="#E8E8F8"
2081WIDTH="100%"
2082CELLPADDING="6"
2083><TR
2084><TD
2085><PRE
2086CLASS="PROGRAMLISTING"
2087>void xmlParseNotationDecl (<A
2088HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2089>xmlParserCtxtPtr</A
2090> ctxt);</PRE
2091></TD
2092></TR
2093></TABLE
2094><P
2095>parse a notation declaration</P
2096><P
2097>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
2098><P
2099>Hence there is actually 3 choices:
2100'PUBLIC' S PubidLiteral
2101'PUBLIC' S PubidLiteral S SystemLiteral
2102and 'SYSTEM' S SystemLiteral</P
2103><P
2104>See the NOTE on <A
2105HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
2106>xmlParseExternalID</A
2107>().</P
2108><P
2109></P
2110><DIV
2111CLASS="INFORMALTABLE"
2112><P
2113></P
2114><TABLE
2115BORDER="0"
2116WIDTH="100%"
2117BGCOLOR="#FFE0E0"
2118CELLSPACING="0"
2119CELLPADDING="4"
2120CLASS="CALSTABLE"
2121><TR
2122><TD
2123WIDTH="20%"
2124ALIGN="RIGHT"
2125VALIGN="TOP"
2126><TT
2127CLASS="PARAMETER"
2128><I
2129>ctxt</I
2130></TT
2131>&nbsp;:</TD
2132><TD
2133WIDTH="80%"
2134ALIGN="LEFT"
2135VALIGN="TOP"
2136> an XML parser context</TD
2137></TR
2138></TABLE
2139><P
2140></P
2141></DIV
2142></DIV
2143><HR><DIV
2144CLASS="REFSECT2"
2145><A
2146NAME="AEN4475"
2147></A
2148><H3
2149><A
2150NAME="XMLPARSEENTITYDECL"
2151></A
2152>xmlParseEntityDecl()</H3
2153><TABLE
2154BORDER="0"
2155BGCOLOR="#E8E8F8"
2156WIDTH="100%"
2157CELLPADDING="6"
2158><TR
2159><TD
2160><PRE
2161CLASS="PROGRAMLISTING"
2162>void xmlParseEntityDecl (<A
2163HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2164>xmlParserCtxtPtr</A
2165> ctxt);</PRE
2166></TD
2167></TR
2168></TABLE
2169><P
2170>parse &lt;!ENTITY declarations</P
2171><P
2172>[70] EntityDecl ::= GEDecl | PEDecl</P
2173><P
2174>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
2175><P
2176>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
2177><P
2178>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
2179><P
2180>[74] PEDef ::= EntityValue | ExternalID</P
2181><P
2182>[76] NDataDecl ::= S 'NDATA' S Name</P
2183><P
2184></P
2185><DIV
2186CLASS="INFORMALTABLE"
2187><P
2188></P
2189><TABLE
2190BORDER="0"
2191WIDTH="100%"
2192BGCOLOR="#FFE0E0"
2193CELLSPACING="0"
2194CELLPADDING="4"
2195CLASS="CALSTABLE"
2196><TR
2197><TD
2198WIDTH="20%"
2199ALIGN="RIGHT"
2200VALIGN="TOP"
2201><TT
2202CLASS="PARAMETER"
2203><I
2204>ctxt</I
2205></TT
2206>&nbsp;:</TD
2207><TD
2208WIDTH="80%"
2209ALIGN="LEFT"
2210VALIGN="TOP"
2211> an XML parser context</TD
2212></TR
2213></TABLE
2214><P
2215></P
2216></DIV
2217></DIV
2218><HR><DIV
2219CLASS="REFSECT2"
2220><A
2221NAME="AEN4497"
2222></A
2223><H3
2224><A
2225NAME="XMLPARSEDEFAULTDECL"
2226></A
2227>xmlParseDefaultDecl()</H3
2228><TABLE
2229BORDER="0"
2230BGCOLOR="#E8E8F8"
2231WIDTH="100%"
2232CELLPADDING="6"
2233><TR
2234><TD
2235><PRE
2236CLASS="PROGRAMLISTING"
2237>int xmlParseDefaultDecl (<A
2238HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2239>xmlParserCtxtPtr</A
2240> ctxt,
2241 <A
2242HREF="gnome-xml-tree.html#CHAR"
2243>CHAR</A
2244> **value);</PRE
2245></TD
2246></TR
2247></TABLE
2248><P
2249>Parse an attribute default declaration</P
2250><P
2251>[60] DefaultDecl ::= '<GTKDOCLINK
2252HREF="REQUIRED"
2253>REQUIRED</GTKDOCLINK
2254>' | '<GTKDOCLINK
2255HREF="IMPLIED"
2256>IMPLIED</GTKDOCLINK
2257>' | (('<GTKDOCLINK
2258HREF="FIXED"
2259>FIXED</GTKDOCLINK
2260>' S)? AttValue)</P
2261><P
2262></P
2263><DIV
2264CLASS="INFORMALTABLE"
2265><P
2266></P
2267><TABLE
2268BORDER="0"
2269WIDTH="100%"
2270BGCOLOR="#FFE0E0"
2271CELLSPACING="0"
2272CELLPADDING="4"
2273CLASS="CALSTABLE"
2274><TR
2275><TD
2276WIDTH="20%"
2277ALIGN="RIGHT"
2278VALIGN="TOP"
2279><TT
2280CLASS="PARAMETER"
2281><I
2282>ctxt</I
2283></TT
2284>&nbsp;:</TD
2285><TD
2286WIDTH="80%"
2287ALIGN="LEFT"
2288VALIGN="TOP"
2289> an XML parser context</TD
2290></TR
2291><TR
2292><TD
2293WIDTH="20%"
2294ALIGN="RIGHT"
2295VALIGN="TOP"
2296><TT
2297CLASS="PARAMETER"
2298><I
2299>value</I
2300></TT
2301>&nbsp;:</TD
2302><TD
2303WIDTH="80%"
2304ALIGN="LEFT"
2305VALIGN="TOP"
2306> Receive a possible fixed default value for the attribute</TD
2307></TR
2308><TR
2309><TD
2310WIDTH="20%"
2311ALIGN="RIGHT"
2312VALIGN="TOP"
2313><I
2314CLASS="EMPHASIS"
2315>Returns</I
2316> :</TD
2317><TD
2318WIDTH="80%"
2319ALIGN="LEFT"
2320VALIGN="TOP"
2321> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
2322or XML_ATTRIBUTE_FIXED. </TD
2323></TR
2324></TABLE
2325><P
2326></P
2327></DIV
2328></DIV
2329><HR><DIV
2330CLASS="REFSECT2"
2331><A
2332NAME="AEN4526"
2333></A
2334><H3
2335><A
2336NAME="XMLPARSENOTATIONTYPE"
2337></A
2338>xmlParseNotationType()</H3
2339><TABLE
2340BORDER="0"
2341BGCOLOR="#E8E8F8"
2342WIDTH="100%"
2343CELLPADDING="6"
2344><TR
2345><TD
2346><PRE
2347CLASS="PROGRAMLISTING"
2348><A
2349HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2350>xmlEnumerationPtr</A
2351> xmlParseNotationType (<A
2352HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2353>xmlParserCtxtPtr</A
2354> ctxt);</PRE
2355></TD
2356></TR
2357></TABLE
2358><P
2359>parse an Notation attribute type.</P
2360><P
2361>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
2362><P
2363>Note: the leading 'NOTATION' S part has already being parsed...</P
2364><P
2365></P
2366><DIV
2367CLASS="INFORMALTABLE"
2368><P
2369></P
2370><TABLE
2371BORDER="0"
2372WIDTH="100%"
2373BGCOLOR="#FFE0E0"
2374CELLSPACING="0"
2375CELLPADDING="4"
2376CLASS="CALSTABLE"
2377><TR
2378><TD
2379WIDTH="20%"
2380ALIGN="RIGHT"
2381VALIGN="TOP"
2382><TT
2383CLASS="PARAMETER"
2384><I
2385>ctxt</I
2386></TT
2387>&nbsp;:</TD
2388><TD
2389WIDTH="80%"
2390ALIGN="LEFT"
2391VALIGN="TOP"
2392> an XML parser context</TD
2393></TR
2394><TR
2395><TD
2396WIDTH="20%"
2397ALIGN="RIGHT"
2398VALIGN="TOP"
2399><I
2400CLASS="EMPHASIS"
2401>Returns</I
2402> :</TD
2403><TD
2404WIDTH="80%"
2405ALIGN="LEFT"
2406VALIGN="TOP"
2407> the notation attribute tree built while parsing</TD
2408></TR
2409></TABLE
2410><P
2411></P
2412></DIV
2413></DIV
2414><HR><DIV
2415CLASS="REFSECT2"
2416><A
2417NAME="AEN4549"
2418></A
2419><H3
2420><A
2421NAME="XMLPARSEENUMERATIONTYPE"
2422></A
2423>xmlParseEnumerationType()</H3
2424><TABLE
2425BORDER="0"
2426BGCOLOR="#E8E8F8"
2427WIDTH="100%"
2428CELLPADDING="6"
2429><TR
2430><TD
2431><PRE
2432CLASS="PROGRAMLISTING"
2433><A
2434HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2435>xmlEnumerationPtr</A
2436> xmlParseEnumerationType (<A
2437HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2438>xmlParserCtxtPtr</A
2439> ctxt);</PRE
2440></TD
2441></TR
2442></TABLE
2443><P
2444>parse an Enumeration attribute type.</P
2445><P
2446>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
2447><P
2448></P
2449><DIV
2450CLASS="INFORMALTABLE"
2451><P
2452></P
2453><TABLE
2454BORDER="0"
2455WIDTH="100%"
2456BGCOLOR="#FFE0E0"
2457CELLSPACING="0"
2458CELLPADDING="4"
2459CLASS="CALSTABLE"
2460><TR
2461><TD
2462WIDTH="20%"
2463ALIGN="RIGHT"
2464VALIGN="TOP"
2465><TT
2466CLASS="PARAMETER"
2467><I
2468>ctxt</I
2469></TT
2470>&nbsp;:</TD
2471><TD
2472WIDTH="80%"
2473ALIGN="LEFT"
2474VALIGN="TOP"
2475> an XML parser context</TD
2476></TR
2477><TR
2478><TD
2479WIDTH="20%"
2480ALIGN="RIGHT"
2481VALIGN="TOP"
2482><I
2483CLASS="EMPHASIS"
2484>Returns</I
2485> :</TD
2486><TD
2487WIDTH="80%"
2488ALIGN="LEFT"
2489VALIGN="TOP"
2490> the enumeration attribute tree built while parsing</TD
2491></TR
2492></TABLE
2493><P
2494></P
2495></DIV
2496></DIV
2497><HR><DIV
2498CLASS="REFSECT2"
2499><A
2500NAME="AEN4571"
2501></A
2502><H3
2503><A
2504NAME="XMLPARSEENUMERATEDTYPE"
2505></A
2506>xmlParseEnumeratedType()</H3
2507><TABLE
2508BORDER="0"
2509BGCOLOR="#E8E8F8"
2510WIDTH="100%"
2511CELLPADDING="6"
2512><TR
2513><TD
2514><PRE
2515CLASS="PROGRAMLISTING"
2516>int xmlParseEnumeratedType (<A
2517HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2518>xmlParserCtxtPtr</A
2519> ctxt,
2520 <A
2521HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2522>xmlEnumerationPtr</A
2523> *tree);</PRE
2524></TD
2525></TR
2526></TABLE
2527><P
2528>parse an Enumerated attribute type.</P
2529><P
2530>[57] EnumeratedType ::= NotationType | Enumeration</P
2531><P
2532>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
2533><P
2534></P
2535><DIV
2536CLASS="INFORMALTABLE"
2537><P
2538></P
2539><TABLE
2540BORDER="0"
2541WIDTH="100%"
2542BGCOLOR="#FFE0E0"
2543CELLSPACING="0"
2544CELLPADDING="4"
2545CLASS="CALSTABLE"
2546><TR
2547><TD
2548WIDTH="20%"
2549ALIGN="RIGHT"
2550VALIGN="TOP"
2551><TT
2552CLASS="PARAMETER"
2553><I
2554>ctxt</I
2555></TT
2556>&nbsp;:</TD
2557><TD
2558WIDTH="80%"
2559ALIGN="LEFT"
2560VALIGN="TOP"
2561> an XML parser context</TD
2562></TR
2563><TR
2564><TD
2565WIDTH="20%"
2566ALIGN="RIGHT"
2567VALIGN="TOP"
2568><TT
2569CLASS="PARAMETER"
2570><I
2571>tree</I
2572></TT
2573>&nbsp;:</TD
2574><TD
2575WIDTH="80%"
2576ALIGN="LEFT"
2577VALIGN="TOP"
2578> the enumeration tree built while parsing</TD
2579></TR
2580><TR
2581><TD
2582WIDTH="20%"
2583ALIGN="RIGHT"
2584VALIGN="TOP"
2585><I
2586CLASS="EMPHASIS"
2587>Returns</I
2588> :</TD
2589><TD
2590WIDTH="80%"
2591ALIGN="LEFT"
2592VALIGN="TOP"
2593> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
2594></TR
2595></TABLE
2596><P
2597></P
2598></DIV
2599></DIV
2600><HR><DIV
2601CLASS="REFSECT2"
2602><A
2603NAME="AEN4598"
2604></A
2605><H3
2606><A
2607NAME="XMLPARSEATTRIBUTETYPE"
2608></A
2609>xmlParseAttributeType()</H3
2610><TABLE
2611BORDER="0"
2612BGCOLOR="#E8E8F8"
2613WIDTH="100%"
2614CELLPADDING="6"
2615><TR
2616><TD
2617><PRE
2618CLASS="PROGRAMLISTING"
2619>int xmlParseAttributeType (<A
2620HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2621>xmlParserCtxtPtr</A
2622> ctxt,
2623 <A
2624HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
2625>xmlEnumerationPtr</A
2626> *tree);</PRE
2627></TD
2628></TR
2629></TABLE
2630><P
2631>parse the Attribute list def for an element</P
2632><P
2633>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
2634><P
2635>[55] StringType ::= 'CDATA'</P
2636><P
2637>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
2638'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
2639><P
2640></P
2641><DIV
2642CLASS="INFORMALTABLE"
2643><P
2644></P
2645><TABLE
2646BORDER="0"
2647WIDTH="100%"
2648BGCOLOR="#FFE0E0"
2649CELLSPACING="0"
2650CELLPADDING="4"
2651CLASS="CALSTABLE"
2652><TR
2653><TD
2654WIDTH="20%"
2655ALIGN="RIGHT"
2656VALIGN="TOP"
2657><TT
2658CLASS="PARAMETER"
2659><I
2660>ctxt</I
2661></TT
2662>&nbsp;:</TD
2663><TD
2664WIDTH="80%"
2665ALIGN="LEFT"
2666VALIGN="TOP"
2667> an XML parser context</TD
2668></TR
2669><TR
2670><TD
2671WIDTH="20%"
2672ALIGN="RIGHT"
2673VALIGN="TOP"
2674><TT
2675CLASS="PARAMETER"
2676><I
2677>tree</I
2678></TT
2679>&nbsp;:</TD
2680><TD
2681WIDTH="80%"
2682ALIGN="LEFT"
2683VALIGN="TOP"
2684> the enumeration tree built while parsing</TD
2685></TR
2686><TR
2687><TD
2688WIDTH="20%"
2689ALIGN="RIGHT"
2690VALIGN="TOP"
2691><I
2692CLASS="EMPHASIS"
2693>Returns</I
2694> :</TD
2695><TD
2696WIDTH="80%"
2697ALIGN="LEFT"
2698VALIGN="TOP"
2699>the attribute type</TD
2700></TR
2701></TABLE
2702><P
2703></P
2704></DIV
2705></DIV
2706><HR><DIV
2707CLASS="REFSECT2"
2708><A
2709NAME="AEN4626"
2710></A
2711><H3
2712><A
2713NAME="XMLPARSEATTRIBUTELISTDECL"
2714></A
2715>xmlParseAttributeListDecl()</H3
2716><TABLE
2717BORDER="0"
2718BGCOLOR="#E8E8F8"
2719WIDTH="100%"
2720CELLPADDING="6"
2721><TR
2722><TD
2723><PRE
2724CLASS="PROGRAMLISTING"
2725>void xmlParseAttributeListDecl (<A
2726HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2727>xmlParserCtxtPtr</A
2728> ctxt);</PRE
2729></TD
2730></TR
2731></TABLE
2732><P
2733>: parse the Attribute list def for an element</P
2734><P
2735>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
2736><P
2737>[53] AttDef ::= S Name S AttType S DefaultDecl</P
2738><P
2739></P
2740><DIV
2741CLASS="INFORMALTABLE"
2742><P
2743></P
2744><TABLE
2745BORDER="0"
2746WIDTH="100%"
2747BGCOLOR="#FFE0E0"
2748CELLSPACING="0"
2749CELLPADDING="4"
2750CLASS="CALSTABLE"
2751><TR
2752><TD
2753WIDTH="20%"
2754ALIGN="RIGHT"
2755VALIGN="TOP"
2756><TT
2757CLASS="PARAMETER"
2758><I
2759>ctxt</I
2760></TT
2761>&nbsp;:</TD
2762><TD
2763WIDTH="80%"
2764ALIGN="LEFT"
2765VALIGN="TOP"
2766> an XML parser context</TD
2767></TR
2768></TABLE
2769><P
2770></P
2771></DIV
2772></DIV
2773><HR><DIV
2774CLASS="REFSECT2"
2775><A
2776NAME="AEN4644"
2777></A
2778><H3
2779><A
2780NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
2781></A
2782>xmlParseElementMixedContentDecl()</H3
2783><TABLE
2784BORDER="0"
2785BGCOLOR="#E8E8F8"
2786WIDTH="100%"
2787CELLPADDING="6"
2788><TR
2789><TD
2790><PRE
2791CLASS="PROGRAMLISTING"
2792><A
2793HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2794>xmlElementContentPtr</A
2795> xmlParseElementMixedContentDecl
2796 (<A
2797HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2798>xmlParserCtxtPtr</A
2799> ctxt);</PRE
2800></TD
2801></TR
2802></TABLE
2803><P
2804>parse the declaration for a Mixed Element content
2805The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
2806><P
2807>[51] Mixed ::= '(' S? '<GTKDOCLINK
2808HREF="PCDATA"
2809>PCDATA</GTKDOCLINK
2810>' (S? '|' S? Name)* S? ')*' |
2811'(' S? '<GTKDOCLINK
2812HREF="PCDATA"
2813>PCDATA</GTKDOCLINK
2814>' S? ')'</P
2815><P
2816></P
2817><DIV
2818CLASS="INFORMALTABLE"
2819><P
2820></P
2821><TABLE
2822BORDER="0"
2823WIDTH="100%"
2824BGCOLOR="#FFE0E0"
2825CELLSPACING="0"
2826CELLPADDING="4"
2827CLASS="CALSTABLE"
2828><TR
2829><TD
2830WIDTH="20%"
2831ALIGN="RIGHT"
2832VALIGN="TOP"
2833><TT
2834CLASS="PARAMETER"
2835><I
2836>ctxt</I
2837></TT
2838>&nbsp;:</TD
2839><TD
2840WIDTH="80%"
2841ALIGN="LEFT"
2842VALIGN="TOP"
2843> an XML parser context</TD
2844></TR
2845><TR
2846><TD
2847WIDTH="20%"
2848ALIGN="RIGHT"
2849VALIGN="TOP"
2850><I
2851CLASS="EMPHASIS"
2852>Returns</I
2853> :</TD
2854><TD
2855WIDTH="80%"
2856ALIGN="LEFT"
2857VALIGN="TOP"
2858> the list of the xmlElementContentPtr describing the element choices</TD
2859></TR
2860></TABLE
2861><P
2862></P
2863></DIV
2864></DIV
2865><HR><DIV
2866CLASS="REFSECT2"
2867><A
2868NAME="AEN4668"
2869></A
2870><H3
2871><A
2872NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
2873></A
2874>xmlParseElementChildrenContentDecl()</H3
2875><TABLE
2876BORDER="0"
2877BGCOLOR="#E8E8F8"
2878WIDTH="100%"
2879CELLPADDING="6"
2880><TR
2881><TD
2882><PRE
2883CLASS="PROGRAMLISTING"
2884><A
2885HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2886>xmlElementContentPtr</A
2887> xmlParseElementChildrenContentDecl
2888 (<A
2889HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2890>xmlParserCtxtPtr</A
2891> ctxt);</PRE
2892></TD
2893></TR
2894></TABLE
2895><P
2896>parse the declaration for a Mixed Element content
2897The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
2898><P
2899>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
2900><P
2901>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
2902><P
2903>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
2904><P
2905>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
2906><P
2907></P
2908><DIV
2909CLASS="INFORMALTABLE"
2910><P
2911></P
2912><TABLE
2913BORDER="0"
2914WIDTH="100%"
2915BGCOLOR="#FFE0E0"
2916CELLSPACING="0"
2917CELLPADDING="4"
2918CLASS="CALSTABLE"
2919><TR
2920><TD
2921WIDTH="20%"
2922ALIGN="RIGHT"
2923VALIGN="TOP"
2924><TT
2925CLASS="PARAMETER"
2926><I
2927>ctxt</I
2928></TT
2929>&nbsp;:</TD
2930><TD
2931WIDTH="80%"
2932ALIGN="LEFT"
2933VALIGN="TOP"
2934> an XML parser context</TD
2935></TR
2936><TR
2937><TD
2938WIDTH="20%"
2939ALIGN="RIGHT"
2940VALIGN="TOP"
2941><I
2942CLASS="EMPHASIS"
2943>Returns</I
2944> :</TD
2945><TD
2946WIDTH="80%"
2947ALIGN="LEFT"
2948VALIGN="TOP"
2949> the tree of xmlElementContentPtr describing the element
2950hierarchy.</TD
2951></TR
2952></TABLE
2953><P
2954></P
2955></DIV
2956></DIV
2957><HR><DIV
2958CLASS="REFSECT2"
2959><A
2960NAME="AEN4693"
2961></A
2962><H3
2963><A
2964NAME="XMLPARSEELEMENTCONTENTDECL"
2965></A
2966>xmlParseElementContentDecl()</H3
2967><TABLE
2968BORDER="0"
2969BGCOLOR="#E8E8F8"
2970WIDTH="100%"
2971CELLPADDING="6"
2972><TR
2973><TD
2974><PRE
2975CLASS="PROGRAMLISTING"
2976>int xmlParseElementContentDecl (<A
2977HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2978>xmlParserCtxtPtr</A
2979> ctxt,
2980 <A
2981HREF="gnome-xml-tree.html#CHAR"
2982>CHAR</A
2983> *name,
2984 <A
2985HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
2986>xmlElementContentPtr</A
2987> *result);</PRE
2988></TD
2989></TR
2990></TABLE
2991><P
2992>parse the declaration for an Element content either Mixed or Children,
2993the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
2994><P
2995>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
2996><P
2997></P
2998><DIV
2999CLASS="INFORMALTABLE"
3000><P
3001></P
3002><TABLE
3003BORDER="0"
3004WIDTH="100%"
3005BGCOLOR="#FFE0E0"
3006CELLSPACING="0"
3007CELLPADDING="4"
3008CLASS="CALSTABLE"
3009><TR
3010><TD
3011WIDTH="20%"
3012ALIGN="RIGHT"
3013VALIGN="TOP"
3014><TT
3015CLASS="PARAMETER"
3016><I
3017>ctxt</I
3018></TT
3019>&nbsp;:</TD
3020><TD
3021WIDTH="80%"
3022ALIGN="LEFT"
3023VALIGN="TOP"
3024> an XML parser context</TD
3025></TR
3026><TR
3027><TD
3028WIDTH="20%"
3029ALIGN="RIGHT"
3030VALIGN="TOP"
3031><TT
3032CLASS="PARAMETER"
3033><I
3034>name</I
3035></TT
3036>&nbsp;:</TD
3037><TD
3038WIDTH="80%"
3039ALIGN="LEFT"
3040VALIGN="TOP"
3041> the name of the element being defined.</TD
3042></TR
3043><TR
3044><TD
3045WIDTH="20%"
3046ALIGN="RIGHT"
3047VALIGN="TOP"
3048><TT
3049CLASS="PARAMETER"
3050><I
3051>result</I
3052></TT
3053>&nbsp;:</TD
3054><TD
3055WIDTH="80%"
3056ALIGN="LEFT"
3057VALIGN="TOP"
3058> the Element Content pointer will be stored here if any</TD
3059></TR
3060><TR
3061><TD
3062WIDTH="20%"
3063ALIGN="RIGHT"
3064VALIGN="TOP"
3065><I
3066CLASS="EMPHASIS"
3067>Returns</I
3068> :</TD
3069><TD
3070WIDTH="80%"
3071ALIGN="LEFT"
3072VALIGN="TOP"
3073> the type of element content XML_ELEMENT_TYPE_xxx</TD
3074></TR
3075></TABLE
3076><P
3077></P
3078></DIV
3079></DIV
3080><HR><DIV
3081CLASS="REFSECT2"
3082><A
3083NAME="AEN4724"
3084></A
3085><H3
3086><A
3087NAME="XMLPARSEELEMENTDECL"
3088></A
3089>xmlParseElementDecl()</H3
3090><TABLE
3091BORDER="0"
3092BGCOLOR="#E8E8F8"
3093WIDTH="100%"
3094CELLPADDING="6"
3095><TR
3096><TD
3097><PRE
3098CLASS="PROGRAMLISTING"
3099>int xmlParseElementDecl (<A
3100HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3101>xmlParserCtxtPtr</A
3102> ctxt);</PRE
3103></TD
3104></TR
3105></TABLE
3106><P
3107>parse an Element declaration.</P
3108><P
3109>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
3110><P
3111>TODO There is a check [ VC: Unique Element Type Declaration ]</P
3112><P
3113></P
3114><DIV
3115CLASS="INFORMALTABLE"
3116><P
3117></P
3118><TABLE
3119BORDER="0"
3120WIDTH="100%"
3121BGCOLOR="#FFE0E0"
3122CELLSPACING="0"
3123CELLPADDING="4"
3124CLASS="CALSTABLE"
3125><TR
3126><TD
3127WIDTH="20%"
3128ALIGN="RIGHT"
3129VALIGN="TOP"
3130><TT
3131CLASS="PARAMETER"
3132><I
3133>ctxt</I
3134></TT
3135>&nbsp;:</TD
3136><TD
3137WIDTH="80%"
3138ALIGN="LEFT"
3139VALIGN="TOP"
3140> an XML parser context</TD
3141></TR
3142><TR
3143><TD
3144WIDTH="20%"
3145ALIGN="RIGHT"
3146VALIGN="TOP"
3147><I
3148CLASS="EMPHASIS"
3149>Returns</I
3150> :</TD
3151><TD
3152WIDTH="80%"
3153ALIGN="LEFT"
3154VALIGN="TOP"
3155>the type of the element, or -1 in case of error</TD
3156></TR
3157></TABLE
3158><P
3159></P
3160></DIV
3161></DIV
3162><HR><DIV
3163CLASS="REFSECT2"
3164><A
3165NAME="AEN4746"
3166></A
3167><H3
3168><A
3169NAME="XMLPARSEMARKUPDECL"
3170></A
3171>xmlParseMarkupDecl()</H3
3172><TABLE
3173BORDER="0"
3174BGCOLOR="#E8E8F8"
3175WIDTH="100%"
3176CELLPADDING="6"
3177><TR
3178><TD
3179><PRE
3180CLASS="PROGRAMLISTING"
3181>void xmlParseMarkupDecl (<A
3182HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3183>xmlParserCtxtPtr</A
3184> ctxt);</PRE
3185></TD
3186></TR
3187></TABLE
3188><P
3189>parse Markup declarations</P
3190><P
3191>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
3192NotationDecl | PI | Comment</P
3193><P
3194>TODO There is a check [ VC: Proper Declaration/PE Nesting ]</P
3195><P
3196></P
3197><DIV
3198CLASS="INFORMALTABLE"
3199><P
3200></P
3201><TABLE
3202BORDER="0"
3203WIDTH="100%"
3204BGCOLOR="#FFE0E0"
3205CELLSPACING="0"
3206CELLPADDING="4"
3207CLASS="CALSTABLE"
3208><TR
3209><TD
3210WIDTH="20%"
3211ALIGN="RIGHT"
3212VALIGN="TOP"
3213><TT
3214CLASS="PARAMETER"
3215><I
3216>ctxt</I
3217></TT
3218>&nbsp;:</TD
3219><TD
3220WIDTH="80%"
3221ALIGN="LEFT"
3222VALIGN="TOP"
3223> an XML parser context</TD
3224></TR
3225></TABLE
3226><P
3227></P
3228></DIV
3229></DIV
3230><HR><DIV
3231CLASS="REFSECT2"
3232><A
3233NAME="AEN4764"
3234></A
3235><H3
3236><A
3237NAME="XMLPARSECHARREF"
3238></A
3239>xmlParseCharRef()</H3
3240><TABLE
3241BORDER="0"
3242BGCOLOR="#E8E8F8"
3243WIDTH="100%"
3244CELLPADDING="6"
3245><TR
3246><TD
3247><PRE
3248CLASS="PROGRAMLISTING"
3249><A
3250HREF="gnome-xml-tree.html#CHAR"
3251>CHAR</A
3252>* xmlParseCharRef (<A
3253HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3254>xmlParserCtxtPtr</A
3255> ctxt);</PRE
3256></TD
3257></TR
3258></TABLE
3259><P
3260>parse Reference declarations</P
3261><P
3262>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
3263'&amp;<GTKDOCLINK
3264HREF="X"
3265>x</GTKDOCLINK
3266>' [0-9a-fA-F]+ ';'</P
3267><P
3268></P
3269><DIV
3270CLASS="INFORMALTABLE"
3271><P
3272></P
3273><TABLE
3274BORDER="0"
3275WIDTH="100%"
3276BGCOLOR="#FFE0E0"
3277CELLSPACING="0"
3278CELLPADDING="4"
3279CLASS="CALSTABLE"
3280><TR
3281><TD
3282WIDTH="20%"
3283ALIGN="RIGHT"
3284VALIGN="TOP"
3285><TT
3286CLASS="PARAMETER"
3287><I
3288>ctxt</I
3289></TT
3290>&nbsp;:</TD
3291><TD
3292WIDTH="80%"
3293ALIGN="LEFT"
3294VALIGN="TOP"
3295> an XML parser context</TD
3296></TR
3297><TR
3298><TD
3299WIDTH="20%"
3300ALIGN="RIGHT"
3301VALIGN="TOP"
3302><I
3303CLASS="EMPHASIS"
3304>Returns</I
3305> :</TD
3306><TD
3307WIDTH="80%"
3308ALIGN="LEFT"
3309VALIGN="TOP"
3310>the value parsed</TD
3311></TR
3312></TABLE
3313><P
3314></P
3315></DIV
3316></DIV
3317><HR><DIV
3318CLASS="REFSECT2"
3319><A
3320NAME="AEN4787"
3321></A
3322><H3
3323><A
3324NAME="XMLPARSEENTITYREF"
3325></A
3326>xmlParseEntityRef()</H3
3327><TABLE
3328BORDER="0"
3329BGCOLOR="#E8E8F8"
3330WIDTH="100%"
3331CELLPADDING="6"
3332><TR
3333><TD
3334><PRE
3335CLASS="PROGRAMLISTING"
3336><A
3337HREF="gnome-xml-tree.html#CHAR"
3338>CHAR</A
3339>* xmlParseEntityRef (<A
3340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3341>xmlParserCtxtPtr</A
3342> ctxt);</PRE
3343></TD
3344></TR
3345></TABLE
3346><P
3347>parse ENTITY references declarations</P
3348><P
3349>[68] EntityRef ::= '&amp;' Name ';'</P
3350><P
3351></P
3352><DIV
3353CLASS="INFORMALTABLE"
3354><P
3355></P
3356><TABLE
3357BORDER="0"
3358WIDTH="100%"
3359BGCOLOR="#FFE0E0"
3360CELLSPACING="0"
3361CELLPADDING="4"
3362CLASS="CALSTABLE"
3363><TR
3364><TD
3365WIDTH="20%"
3366ALIGN="RIGHT"
3367VALIGN="TOP"
3368><TT
3369CLASS="PARAMETER"
3370><I
3371>ctxt</I
3372></TT
3373>&nbsp;:</TD
3374><TD
3375WIDTH="80%"
3376ALIGN="LEFT"
3377VALIGN="TOP"
3378> an XML parser context</TD
3379></TR
3380><TR
3381><TD
3382WIDTH="20%"
3383ALIGN="RIGHT"
3384VALIGN="TOP"
3385><I
3386CLASS="EMPHASIS"
3387>Returns</I
3388> :</TD
3389><TD
3390WIDTH="80%"
3391ALIGN="LEFT"
3392VALIGN="TOP"
3393>the entity ref string or NULL if directly as input stream.</TD
3394></TR
3395></TABLE
3396><P
3397></P
3398></DIV
3399></DIV
3400><HR><DIV
3401CLASS="REFSECT2"
3402><A
3403NAME="AEN4809"
3404></A
3405><H3
3406><A
3407NAME="XMLPARSEREFERENCE"
3408></A
3409>xmlParseReference()</H3
3410><TABLE
3411BORDER="0"
3412BGCOLOR="#E8E8F8"
3413WIDTH="100%"
3414CELLPADDING="6"
3415><TR
3416><TD
3417><PRE
3418CLASS="PROGRAMLISTING"
3419><A
3420HREF="gnome-xml-tree.html#CHAR"
3421>CHAR</A
3422>* xmlParseReference (<A
3423HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3424>xmlParserCtxtPtr</A
3425> ctxt);</PRE
3426></TD
3427></TR
3428></TABLE
3429><P
3430>parse Reference declarations</P
3431><P
3432>[67] Reference ::= EntityRef | CharRef</P
3433><P
3434></P
3435><DIV
3436CLASS="INFORMALTABLE"
3437><P
3438></P
3439><TABLE
3440BORDER="0"
3441WIDTH="100%"
3442BGCOLOR="#FFE0E0"
3443CELLSPACING="0"
3444CELLPADDING="4"
3445CLASS="CALSTABLE"
3446><TR
3447><TD
3448WIDTH="20%"
3449ALIGN="RIGHT"
3450VALIGN="TOP"
3451><TT
3452CLASS="PARAMETER"
3453><I
3454>ctxt</I
3455></TT
3456>&nbsp;:</TD
3457><TD
3458WIDTH="80%"
3459ALIGN="LEFT"
3460VALIGN="TOP"
3461> an XML parser context</TD
3462></TR
3463><TR
3464><TD
3465WIDTH="20%"
3466ALIGN="RIGHT"
3467VALIGN="TOP"
3468><I
3469CLASS="EMPHASIS"
3470>Returns</I
3471> :</TD
3472><TD
3473WIDTH="80%"
3474ALIGN="LEFT"
3475VALIGN="TOP"
3476>the entity string or NULL if handled directly by pushing
3477the entity value as the input.</TD
3478></TR
3479></TABLE
3480><P
3481></P
3482></DIV
3483></DIV
3484><HR><DIV
3485CLASS="REFSECT2"
3486><A
3487NAME="AEN4831"
3488></A
3489><H3
3490><A
3491NAME="XMLPARSEPEREFERENCE"
3492></A
3493>xmlParsePEReference()</H3
3494><TABLE
3495BORDER="0"
3496BGCOLOR="#E8E8F8"
3497WIDTH="100%"
3498CELLPADDING="6"
3499><TR
3500><TD
3501><PRE
3502CLASS="PROGRAMLISTING"
3503><A
3504HREF="gnome-xml-tree.html#CHAR"
3505>CHAR</A
3506>* xmlParsePEReference (<A
3507HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3508>xmlParserCtxtPtr</A
3509> ctxt);</PRE
3510></TD
3511></TR
3512></TABLE
3513><P
3514>parse PEReference declarations</P
3515><P
3516>[69] PEReference ::= '%' Name ';'</P
3517><P
3518></P
3519><DIV
3520CLASS="INFORMALTABLE"
3521><P
3522></P
3523><TABLE
3524BORDER="0"
3525WIDTH="100%"
3526BGCOLOR="#FFE0E0"
3527CELLSPACING="0"
3528CELLPADDING="4"
3529CLASS="CALSTABLE"
3530><TR
3531><TD
3532WIDTH="20%"
3533ALIGN="RIGHT"
3534VALIGN="TOP"
3535><TT
3536CLASS="PARAMETER"
3537><I
3538>ctxt</I
3539></TT
3540>&nbsp;:</TD
3541><TD
3542WIDTH="80%"
3543ALIGN="LEFT"
3544VALIGN="TOP"
3545> an XML parser context</TD
3546></TR
3547><TR
3548><TD
3549WIDTH="20%"
3550ALIGN="RIGHT"
3551VALIGN="TOP"
3552><I
3553CLASS="EMPHASIS"
3554>Returns</I
3555> :</TD
3556><TD
3557WIDTH="80%"
3558ALIGN="LEFT"
3559VALIGN="TOP"
3560>the entity content or NULL if handled directly.</TD
3561></TR
3562></TABLE
3563><P
3564></P
3565></DIV
3566></DIV
3567><HR><DIV
3568CLASS="REFSECT2"
3569><A
3570NAME="AEN4853"
3571></A
3572><H3
3573><A
3574NAME="XMLPARSEDOCTYPEDECL"
3575></A
3576>xmlParseDocTypeDecl()</H3
3577><TABLE
3578BORDER="0"
3579BGCOLOR="#E8E8F8"
3580WIDTH="100%"
3581CELLPADDING="6"
3582><TR
3583><TD
3584><PRE
3585CLASS="PROGRAMLISTING"
3586>void xmlParseDocTypeDecl (<A
3587HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3588>xmlParserCtxtPtr</A
3589> ctxt);</PRE
3590></TD
3591></TR
3592></TABLE
3593><P
3594>parse a DOCTYPE declaration</P
3595><P
3596>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
3597('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
3598><P
3599></P
3600><DIV
3601CLASS="INFORMALTABLE"
3602><P
3603></P
3604><TABLE
3605BORDER="0"
3606WIDTH="100%"
3607BGCOLOR="#FFE0E0"
3608CELLSPACING="0"
3609CELLPADDING="4"
3610CLASS="CALSTABLE"
3611><TR
3612><TD
3613WIDTH="20%"
3614ALIGN="RIGHT"
3615VALIGN="TOP"
3616><TT
3617CLASS="PARAMETER"
3618><I
3619>ctxt</I
3620></TT
3621>&nbsp;:</TD
3622><TD
3623WIDTH="80%"
3624ALIGN="LEFT"
3625VALIGN="TOP"
3626> an XML parser context</TD
3627></TR
3628></TABLE
3629><P
3630></P
3631></DIV
3632></DIV
3633><HR><DIV
3634CLASS="REFSECT2"
3635><A
3636NAME="AEN4870"
3637></A
3638><H3
3639><A
3640NAME="XMLPARSEATTRIBUTE"
3641></A
3642>xmlParseAttribute()</H3
3643><TABLE
3644BORDER="0"
3645BGCOLOR="#E8E8F8"
3646WIDTH="100%"
3647CELLPADDING="6"
3648><TR
3649><TD
3650><PRE
3651CLASS="PROGRAMLISTING"
3652><A
3653HREF="gnome-xml-tree.html#XMLATTRPTR"
3654>xmlAttrPtr</A
3655> xmlParseAttribute (<A
3656HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3657>xmlParserCtxtPtr</A
3658> ctxt,
3659 <A
3660HREF="gnome-xml-tree.html#XMLNODEPTR"
3661>xmlNodePtr</A
3662> node);</PRE
3663></TD
3664></TR
3665></TABLE
3666><P
3667>parse an attribute</P
3668><P
3669>[41] Attribute ::= Name Eq AttValue</P
3670><P
3671>[25] Eq ::= S? '=' S?</P
3672><P
3673>With namespace:</P
3674><P
3675>[NS 11] Attribute ::= QName Eq AttValue</P
3676><P
3677>Also the case QName == xmlns:??? is handled independently as a namespace
3678definition.</P
3679><P
3680></P
3681><DIV
3682CLASS="INFORMALTABLE"
3683><P
3684></P
3685><TABLE
3686BORDER="0"
3687WIDTH="100%"
3688BGCOLOR="#FFE0E0"
3689CELLSPACING="0"
3690CELLPADDING="4"
3691CLASS="CALSTABLE"
3692><TR
3693><TD
3694WIDTH="20%"
3695ALIGN="RIGHT"
3696VALIGN="TOP"
3697><TT
3698CLASS="PARAMETER"
3699><I
3700>ctxt</I
3701></TT
3702>&nbsp;:</TD
3703><TD
3704WIDTH="80%"
3705ALIGN="LEFT"
3706VALIGN="TOP"
3707> an XML parser context</TD
3708></TR
3709><TR
3710><TD
3711WIDTH="20%"
3712ALIGN="RIGHT"
3713VALIGN="TOP"
3714><TT
3715CLASS="PARAMETER"
3716><I
3717>node</I
3718></TT
3719>&nbsp;:</TD
3720><TD
3721WIDTH="80%"
3722ALIGN="LEFT"
3723VALIGN="TOP"
3724> the node carrying the attribute</TD
3725></TR
3726><TR
3727><TD
3728WIDTH="20%"
3729ALIGN="RIGHT"
3730VALIGN="TOP"
3731><I
3732CLASS="EMPHASIS"
3733>Returns</I
3734> :</TD
3735><TD
3736WIDTH="80%"
3737ALIGN="LEFT"
3738VALIGN="TOP"
3739>the attribute just parsed of NULL in case of error.</TD
3740></TR
3741></TABLE
3742><P
3743></P
3744></DIV
3745></DIV
3746><HR><DIV
3747CLASS="REFSECT2"
3748><A
3749NAME="AEN4901"
3750></A
3751><H3
3752><A
3753NAME="XMLPARSESTARTTAG"
3754></A
3755>xmlParseStartTag()</H3
3756><TABLE
3757BORDER="0"
3758BGCOLOR="#E8E8F8"
3759WIDTH="100%"
3760CELLPADDING="6"
3761><TR
3762><TD
3763><PRE
3764CLASS="PROGRAMLISTING"
3765><A
3766HREF="gnome-xml-tree.html#XMLNODEPTR"
3767>xmlNodePtr</A
3768> xmlParseStartTag (<A
3769HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3770>xmlParserCtxtPtr</A
3771> ctxt);</PRE
3772></TD
3773></TR
3774></TABLE
3775><P
3776>parse a start of tag either for rule element or
3777EmptyElement. In both case we don't parse the tag closing chars.</P
3778><P
3779>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
3780><P
3781>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
3782><P
3783>With namespace:</P
3784><P
3785>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
3786><P
3787>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
3788><P
3789></P
3790><DIV
3791CLASS="INFORMALTABLE"
3792><P
3793></P
3794><TABLE
3795BORDER="0"
3796WIDTH="100%"
3797BGCOLOR="#FFE0E0"
3798CELLSPACING="0"
3799CELLPADDING="4"
3800CLASS="CALSTABLE"
3801><TR
3802><TD
3803WIDTH="20%"
3804ALIGN="RIGHT"
3805VALIGN="TOP"
3806><TT
3807CLASS="PARAMETER"
3808><I
3809>ctxt</I
3810></TT
3811>&nbsp;:</TD
3812><TD
3813WIDTH="80%"
3814ALIGN="LEFT"
3815VALIGN="TOP"
3816> an XML parser context</TD
3817></TR
3818><TR
3819><TD
3820WIDTH="20%"
3821ALIGN="RIGHT"
3822VALIGN="TOP"
3823><I
3824CLASS="EMPHASIS"
3825>Returns</I
3826> :</TD
3827><TD
3828WIDTH="80%"
3829ALIGN="LEFT"
3830VALIGN="TOP"
3831>the XML new node or NULL.</TD
3832></TR
3833></TABLE
3834><P
3835></P
3836></DIV
3837></DIV
3838><HR><DIV
3839CLASS="REFSECT2"
3840><A
3841NAME="AEN4927"
3842></A
3843><H3
3844><A
3845NAME="XMLPARSEENDTAG"
3846></A
3847>xmlParseEndTag()</H3
3848><TABLE
3849BORDER="0"
3850BGCOLOR="#E8E8F8"
3851WIDTH="100%"
3852CELLPADDING="6"
3853><TR
3854><TD
3855><PRE
3856CLASS="PROGRAMLISTING"
3857>void xmlParseEndTag (<A
3858HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3859>xmlParserCtxtPtr</A
3860> ctxt,
3861 <A
3862HREF="gnome-xml-tree.html#XMLNSPTR"
3863>xmlNsPtr</A
3864> *nsPtr,
3865 <A
3866HREF="gnome-xml-tree.html#CHAR"
3867>CHAR</A
3868> **tagPtr);</PRE
3869></TD
3870></TR
3871></TABLE
3872><P
3873>parse an end of tag</P
3874><P
3875>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
3876><P
3877>With namespace</P
3878><P
3879>[9] ETag ::= '&lt;/' QName S? '&gt;'</P
3880><P
3881>tagPtr receive the tag name just read</P
3882><P
3883></P
3884><DIV
3885CLASS="INFORMALTABLE"
3886><P
3887></P
3888><TABLE
3889BORDER="0"
3890WIDTH="100%"
3891BGCOLOR="#FFE0E0"
3892CELLSPACING="0"
3893CELLPADDING="4"
3894CLASS="CALSTABLE"
3895><TR
3896><TD
3897WIDTH="20%"
3898ALIGN="RIGHT"
3899VALIGN="TOP"
3900><TT
3901CLASS="PARAMETER"
3902><I
3903>ctxt</I
3904></TT
3905>&nbsp;:</TD
3906><TD
3907WIDTH="80%"
3908ALIGN="LEFT"
3909VALIGN="TOP"
3910> an XML parser context</TD
3911></TR
3912><TR
3913><TD
3914WIDTH="20%"
3915ALIGN="RIGHT"
3916VALIGN="TOP"
3917><TT
3918CLASS="PARAMETER"
3919><I
3920>nsPtr</I
3921></TT
3922>&nbsp;:</TD
3923><TD
3924WIDTH="80%"
3925ALIGN="LEFT"
3926VALIGN="TOP"
3927> the current node namespace definition</TD
3928></TR
3929><TR
3930><TD
3931WIDTH="20%"
3932ALIGN="RIGHT"
3933VALIGN="TOP"
3934><TT
3935CLASS="PARAMETER"
3936><I
3937>tagPtr</I
3938></TT
3939>&nbsp;:</TD
3940><TD
3941WIDTH="80%"
3942ALIGN="LEFT"
3943VALIGN="TOP"
3944> CHAR** receive the tag value</TD
3945></TR
3946></TABLE
3947><P
3948></P
3949></DIV
3950></DIV
3951><HR><DIV
3952CLASS="REFSECT2"
3953><A
3954NAME="AEN4957"
3955></A
3956><H3
3957><A
3958NAME="XMLPARSECDSECT"
3959></A
3960>xmlParseCDSect()</H3
3961><TABLE
3962BORDER="0"
3963BGCOLOR="#E8E8F8"
3964WIDTH="100%"
3965CELLPADDING="6"
3966><TR
3967><TD
3968><PRE
3969CLASS="PROGRAMLISTING"
3970>void xmlParseCDSect (<A
3971HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3972>xmlParserCtxtPtr</A
3973> ctxt);</PRE
3974></TD
3975></TR
3976></TABLE
3977><P
3978>Parse escaped pure raw content.</P
3979><P
3980>[18] CDSect ::= CDStart CData CDEnd</P
3981><P
3982>[19] CDStart ::= '&lt;![CDATA['</P
3983><P
3984>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
3985><P
3986>[21] CDEnd ::= ']]&gt;'</P
3987><P
3988></P
3989><DIV
3990CLASS="INFORMALTABLE"
3991><P
3992></P
3993><TABLE
3994BORDER="0"
3995WIDTH="100%"
3996BGCOLOR="#FFE0E0"
3997CELLSPACING="0"
3998CELLPADDING="4"
3999CLASS="CALSTABLE"
4000><TR
4001><TD
4002WIDTH="20%"
4003ALIGN="RIGHT"
4004VALIGN="TOP"
4005><TT
4006CLASS="PARAMETER"
4007><I
4008>ctxt</I
4009></TT
4010>&nbsp;:</TD
4011><TD
4012WIDTH="80%"
4013ALIGN="LEFT"
4014VALIGN="TOP"
4015> an XML parser context</TD
4016></TR
4017></TABLE
4018><P
4019></P
4020></DIV
4021></DIV
4022><HR><DIV
4023CLASS="REFSECT2"
4024><A
4025NAME="AEN4977"
4026></A
4027><H3
4028><A
4029NAME="XMLPARSECONTENT"
4030></A
4031>xmlParseContent()</H3
4032><TABLE
4033BORDER="0"
4034BGCOLOR="#E8E8F8"
4035WIDTH="100%"
4036CELLPADDING="6"
4037><TR
4038><TD
4039><PRE
4040CLASS="PROGRAMLISTING"
4041>void xmlParseContent (<A
4042HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4043>xmlParserCtxtPtr</A
4044> ctxt);</PRE
4045></TD
4046></TR
4047></TABLE
4048><P
4049>Parse a content:</P
4050><P
4051>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
4052><P
4053></P
4054><DIV
4055CLASS="INFORMALTABLE"
4056><P
4057></P
4058><TABLE
4059BORDER="0"
4060WIDTH="100%"
4061BGCOLOR="#FFE0E0"
4062CELLSPACING="0"
4063CELLPADDING="4"
4064CLASS="CALSTABLE"
4065><TR
4066><TD
4067WIDTH="20%"
4068ALIGN="RIGHT"
4069VALIGN="TOP"
4070><TT
4071CLASS="PARAMETER"
4072><I
4073>ctxt</I
4074></TT
4075>&nbsp;:</TD
4076><TD
4077WIDTH="80%"
4078ALIGN="LEFT"
4079VALIGN="TOP"
4080> an XML parser context</TD
4081></TR
4082></TABLE
4083><P
4084></P
4085></DIV
4086></DIV
4087><HR><DIV
4088CLASS="REFSECT2"
4089><A
4090NAME="AEN4994"
4091></A
4092><H3
4093><A
4094NAME="XMLPARSEELEMENT"
4095></A
4096>xmlParseElement()</H3
4097><TABLE
4098BORDER="0"
4099BGCOLOR="#E8E8F8"
4100WIDTH="100%"
4101CELLPADDING="6"
4102><TR
4103><TD
4104><PRE
4105CLASS="PROGRAMLISTING"
4106><A
4107HREF="gnome-xml-tree.html#XMLNODEPTR"
4108>xmlNodePtr</A
4109> xmlParseElement (<A
4110HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4111>xmlParserCtxtPtr</A
4112> ctxt);</PRE
4113></TD
4114></TR
4115></TABLE
4116><P
4117>parse an XML element, this is highly recursive</P
4118><P
4119>[39] element ::= EmptyElemTag | STag content ETag</P
4120><P
4121>[41] Attribute ::= Name Eq AttValue</P
4122><P
4123></P
4124><DIV
4125CLASS="INFORMALTABLE"
4126><P
4127></P
4128><TABLE
4129BORDER="0"
4130WIDTH="100%"
4131BGCOLOR="#FFE0E0"
4132CELLSPACING="0"
4133CELLPADDING="4"
4134CLASS="CALSTABLE"
4135><TR
4136><TD
4137WIDTH="20%"
4138ALIGN="RIGHT"
4139VALIGN="TOP"
4140><TT
4141CLASS="PARAMETER"
4142><I
4143>ctxt</I
4144></TT
4145>&nbsp;:</TD
4146><TD
4147WIDTH="80%"
4148ALIGN="LEFT"
4149VALIGN="TOP"
4150> an XML parser context</TD
4151></TR
4152><TR
4153><TD
4154WIDTH="20%"
4155ALIGN="RIGHT"
4156VALIGN="TOP"
4157><I
4158CLASS="EMPHASIS"
4159>Returns</I
4160> :</TD
4161><TD
4162WIDTH="80%"
4163ALIGN="LEFT"
4164VALIGN="TOP"
4165>the XML new node or NULL</TD
4166></TR
4167></TABLE
4168><P
4169></P
4170></DIV
4171></DIV
4172><HR><DIV
4173CLASS="REFSECT2"
4174><A
4175NAME="AEN5017"
4176></A
4177><H3
4178><A
4179NAME="XMLPARSEVERSIONNUM"
4180></A
4181>xmlParseVersionNum()</H3
4182><TABLE
4183BORDER="0"
4184BGCOLOR="#E8E8F8"
4185WIDTH="100%"
4186CELLPADDING="6"
4187><TR
4188><TD
4189><PRE
4190CLASS="PROGRAMLISTING"
4191><A
4192HREF="gnome-xml-tree.html#CHAR"
4193>CHAR</A
4194>* xmlParseVersionNum (<A
4195HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4196>xmlParserCtxtPtr</A
4197> ctxt);</PRE
4198></TD
4199></TR
4200></TABLE
4201><P
4202>parse the XML version value.</P
4203><P
4204>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
4205><P
4206></P
4207><DIV
4208CLASS="INFORMALTABLE"
4209><P
4210></P
4211><TABLE
4212BORDER="0"
4213WIDTH="100%"
4214BGCOLOR="#FFE0E0"
4215CELLSPACING="0"
4216CELLPADDING="4"
4217CLASS="CALSTABLE"
4218><TR
4219><TD
4220WIDTH="20%"
4221ALIGN="RIGHT"
4222VALIGN="TOP"
4223><TT
4224CLASS="PARAMETER"
4225><I
4226>ctxt</I
4227></TT
4228>&nbsp;:</TD
4229><TD
4230WIDTH="80%"
4231ALIGN="LEFT"
4232VALIGN="TOP"
4233> an XML parser context</TD
4234></TR
4235><TR
4236><TD
4237WIDTH="20%"
4238ALIGN="RIGHT"
4239VALIGN="TOP"
4240><I
4241CLASS="EMPHASIS"
4242>Returns</I
4243> :</TD
4244><TD
4245WIDTH="80%"
4246ALIGN="LEFT"
4247VALIGN="TOP"
4248>the string giving the XML version number, or NULL</TD
4249></TR
4250></TABLE
4251><P
4252></P
4253></DIV
4254></DIV
4255><HR><DIV
4256CLASS="REFSECT2"
4257><A
4258NAME="AEN5039"
4259></A
4260><H3
4261><A
4262NAME="XMLPARSEVERSIONINFO"
4263></A
4264>xmlParseVersionInfo()</H3
4265><TABLE
4266BORDER="0"
4267BGCOLOR="#E8E8F8"
4268WIDTH="100%"
4269CELLPADDING="6"
4270><TR
4271><TD
4272><PRE
4273CLASS="PROGRAMLISTING"
4274><A
4275HREF="gnome-xml-tree.html#CHAR"
4276>CHAR</A
4277>* xmlParseVersionInfo (<A
4278HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4279>xmlParserCtxtPtr</A
4280> ctxt);</PRE
4281></TD
4282></TR
4283></TABLE
4284><P
4285>parse the XML version.</P
4286><P
4287>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
4288><P
4289>[25] Eq ::= S? '=' S?</P
4290><P
4291></P
4292><DIV
4293CLASS="INFORMALTABLE"
4294><P
4295></P
4296><TABLE
4297BORDER="0"
4298WIDTH="100%"
4299BGCOLOR="#FFE0E0"
4300CELLSPACING="0"
4301CELLPADDING="4"
4302CLASS="CALSTABLE"
4303><TR
4304><TD
4305WIDTH="20%"
4306ALIGN="RIGHT"
4307VALIGN="TOP"
4308><TT
4309CLASS="PARAMETER"
4310><I
4311>ctxt</I
4312></TT
4313>&nbsp;:</TD
4314><TD
4315WIDTH="80%"
4316ALIGN="LEFT"
4317VALIGN="TOP"
4318> an XML parser context</TD
4319></TR
4320><TR
4321><TD
4322WIDTH="20%"
4323ALIGN="RIGHT"
4324VALIGN="TOP"
4325><I
4326CLASS="EMPHASIS"
4327>Returns</I
4328> :</TD
4329><TD
4330WIDTH="80%"
4331ALIGN="LEFT"
4332VALIGN="TOP"
4333>the version string, e.g. "1.0"</TD
4334></TR
4335></TABLE
4336><P
4337></P
4338></DIV
4339></DIV
4340><HR><DIV
4341CLASS="REFSECT2"
4342><A
4343NAME="AEN5062"
4344></A
4345><H3
4346><A
4347NAME="XMLPARSEENCNAME"
4348></A
4349>xmlParseEncName()</H3
4350><TABLE
4351BORDER="0"
4352BGCOLOR="#E8E8F8"
4353WIDTH="100%"
4354CELLPADDING="6"
4355><TR
4356><TD
4357><PRE
4358CLASS="PROGRAMLISTING"
4359><A
4360HREF="gnome-xml-tree.html#CHAR"
4361>CHAR</A
4362>* xmlParseEncName (<A
4363HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4364>xmlParserCtxtPtr</A
4365> ctxt);</PRE
4366></TD
4367></TR
4368></TABLE
4369><P
4370>parse the XML encoding name</P
4371><P
4372>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
4373><P
4374></P
4375><DIV
4376CLASS="INFORMALTABLE"
4377><P
4378></P
4379><TABLE
4380BORDER="0"
4381WIDTH="100%"
4382BGCOLOR="#FFE0E0"
4383CELLSPACING="0"
4384CELLPADDING="4"
4385CLASS="CALSTABLE"
4386><TR
4387><TD
4388WIDTH="20%"
4389ALIGN="RIGHT"
4390VALIGN="TOP"
4391><TT
4392CLASS="PARAMETER"
4393><I
4394>ctxt</I
4395></TT
4396>&nbsp;:</TD
4397><TD
4398WIDTH="80%"
4399ALIGN="LEFT"
4400VALIGN="TOP"
4401> an XML parser context</TD
4402></TR
4403><TR
4404><TD
4405WIDTH="20%"
4406ALIGN="RIGHT"
4407VALIGN="TOP"
4408><I
4409CLASS="EMPHASIS"
4410>Returns</I
4411> :</TD
4412><TD
4413WIDTH="80%"
4414ALIGN="LEFT"
4415VALIGN="TOP"
4416>the encoding name value or NULL</TD
4417></TR
4418></TABLE
4419><P
4420></P
4421></DIV
4422></DIV
4423><HR><DIV
4424CLASS="REFSECT2"
4425><A
4426NAME="AEN5084"
4427></A
4428><H3
4429><A
4430NAME="XMLPARSEENCODINGDECL"
4431></A
4432>xmlParseEncodingDecl()</H3
4433><TABLE
4434BORDER="0"
4435BGCOLOR="#E8E8F8"
4436WIDTH="100%"
4437CELLPADDING="6"
4438><TR
4439><TD
4440><PRE
4441CLASS="PROGRAMLISTING"
4442><A
4443HREF="gnome-xml-tree.html#CHAR"
4444>CHAR</A
4445>* xmlParseEncodingDecl (<A
4446HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4447>xmlParserCtxtPtr</A
4448> ctxt);</PRE
4449></TD
4450></TR
4451></TABLE
4452><P
4453>parse the XML encoding declaration</P
4454><P
4455>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
4456><P
4457>TODO: this should setup the conversion filters.</P
4458><P
4459></P
4460><DIV
4461CLASS="INFORMALTABLE"
4462><P
4463></P
4464><TABLE
4465BORDER="0"
4466WIDTH="100%"
4467BGCOLOR="#FFE0E0"
4468CELLSPACING="0"
4469CELLPADDING="4"
4470CLASS="CALSTABLE"
4471><TR
4472><TD
4473WIDTH="20%"
4474ALIGN="RIGHT"
4475VALIGN="TOP"
4476><TT
4477CLASS="PARAMETER"
4478><I
4479>ctxt</I
4480></TT
4481>&nbsp;:</TD
4482><TD
4483WIDTH="80%"
4484ALIGN="LEFT"
4485VALIGN="TOP"
4486> an XML parser context</TD
4487></TR
4488><TR
4489><TD
4490WIDTH="20%"
4491ALIGN="RIGHT"
4492VALIGN="TOP"
4493><I
4494CLASS="EMPHASIS"
4495>Returns</I
4496> :</TD
4497><TD
4498WIDTH="80%"
4499ALIGN="LEFT"
4500VALIGN="TOP"
4501>the encoding value or NULL</TD
4502></TR
4503></TABLE
4504><P
4505></P
4506></DIV
4507></DIV
4508><HR><DIV
4509CLASS="REFSECT2"
4510><A
4511NAME="AEN5107"
4512></A
4513><H3
4514><A
4515NAME="XMLPARSESDDECL"
4516></A
4517>xmlParseSDDecl()</H3
4518><TABLE
4519BORDER="0"
4520BGCOLOR="#E8E8F8"
4521WIDTH="100%"
4522CELLPADDING="6"
4523><TR
4524><TD
4525><PRE
4526CLASS="PROGRAMLISTING"
4527>int xmlParseSDDecl (<A
4528HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4529>xmlParserCtxtPtr</A
4530> ctxt);</PRE
4531></TD
4532></TR
4533></TABLE
4534><P
4535>parse the XML standalone declaration</P
4536><P
4537>[32] SDDecl ::= S 'standalone' Eq
4538(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))</P
4539><P
4540></P
4541><DIV
4542CLASS="INFORMALTABLE"
4543><P
4544></P
4545><TABLE
4546BORDER="0"
4547WIDTH="100%"
4548BGCOLOR="#FFE0E0"
4549CELLSPACING="0"
4550CELLPADDING="4"
4551CLASS="CALSTABLE"
4552><TR
4553><TD
4554WIDTH="20%"
4555ALIGN="RIGHT"
4556VALIGN="TOP"
4557><TT
4558CLASS="PARAMETER"
4559><I
4560>ctxt</I
4561></TT
4562>&nbsp;:</TD
4563><TD
4564WIDTH="80%"
4565ALIGN="LEFT"
4566VALIGN="TOP"
4567> an XML parser context</TD
4568></TR
4569><TR
4570><TD
4571WIDTH="20%"
4572ALIGN="RIGHT"
4573VALIGN="TOP"
4574><I
4575CLASS="EMPHASIS"
4576>Returns</I
4577> :</TD
4578><TD
4579WIDTH="80%"
4580ALIGN="LEFT"
4581VALIGN="TOP"
4582>1 if standalone, 0 otherwise</TD
4583></TR
4584></TABLE
4585><P
4586></P
4587></DIV
4588></DIV
4589><HR><DIV
4590CLASS="REFSECT2"
4591><A
4592NAME="AEN5128"
4593></A
4594><H3
4595><A
4596NAME="XMLPARSEXMLDECL"
4597></A
4598>xmlParseXMLDecl()</H3
4599><TABLE
4600BORDER="0"
4601BGCOLOR="#E8E8F8"
4602WIDTH="100%"
4603CELLPADDING="6"
4604><TR
4605><TD
4606><PRE
4607CLASS="PROGRAMLISTING"
4608>void xmlParseXMLDecl (<A
4609HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4610>xmlParserCtxtPtr</A
4611> ctxt);</PRE
4612></TD
4613></TR
4614></TABLE
4615><P
4616>parse an XML declaration header</P
4617><P
4618>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
4619><P
4620></P
4621><DIV
4622CLASS="INFORMALTABLE"
4623><P
4624></P
4625><TABLE
4626BORDER="0"
4627WIDTH="100%"
4628BGCOLOR="#FFE0E0"
4629CELLSPACING="0"
4630CELLPADDING="4"
4631CLASS="CALSTABLE"
4632><TR
4633><TD
4634WIDTH="20%"
4635ALIGN="RIGHT"
4636VALIGN="TOP"
4637><TT
4638CLASS="PARAMETER"
4639><I
4640>ctxt</I
4641></TT
4642>&nbsp;:</TD
4643><TD
4644WIDTH="80%"
4645ALIGN="LEFT"
4646VALIGN="TOP"
4647> an XML parser context</TD
4648></TR
4649></TABLE
4650><P
4651></P
4652></DIV
4653></DIV
4654><HR><DIV
4655CLASS="REFSECT2"
4656><A
4657NAME="AEN5145"
4658></A
4659><H3
4660><A
4661NAME="XMLPARSEMISC"
4662></A
4663>xmlParseMisc()</H3
4664><TABLE
4665BORDER="0"
4666BGCOLOR="#E8E8F8"
4667WIDTH="100%"
4668CELLPADDING="6"
4669><TR
4670><TD
4671><PRE
4672CLASS="PROGRAMLISTING"
4673>void xmlParseMisc (<A
4674HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4675>xmlParserCtxtPtr</A
4676> ctxt);</PRE
4677></TD
4678></TR
4679></TABLE
4680><P
4681>parse an XML Misc* optionnal field.</P
4682><P
4683>[27] Misc ::= Comment | PI | S</P
4684><P
4685></P
4686><DIV
4687CLASS="INFORMALTABLE"
4688><P
4689></P
4690><TABLE
4691BORDER="0"
4692WIDTH="100%"
4693BGCOLOR="#FFE0E0"
4694CELLSPACING="0"
4695CELLPADDING="4"
4696CLASS="CALSTABLE"
4697><TR
4698><TD
4699WIDTH="20%"
4700ALIGN="RIGHT"
4701VALIGN="TOP"
4702><TT
4703CLASS="PARAMETER"
4704><I
4705>ctxt</I
4706></TT
4707>&nbsp;:</TD
4708><TD
4709WIDTH="80%"
4710ALIGN="LEFT"
4711VALIGN="TOP"
4712> an XML parser context</TD
4713></TR
4714></TABLE
4715><P
4716></P
4717></DIV
4718></DIV
4719></DIV
4720><DIV
4721CLASS="NAVFOOTER"
4722><HR
4723ALIGN="LEFT"
4724WIDTH="100%"><TABLE
4725WIDTH="100%"
4726BORDER="0"
4727CELLPADDING="0"
4728CELLSPACING="0"
4729><TR
4730><TD
4731WIDTH="33%"
4732ALIGN="left"
4733VALIGN="top"
4734><A
4735HREF="gnome-xml-error.html"
4736>Prev</A
4737></TD
4738><TD
4739WIDTH="34%"
4740ALIGN="center"
4741VALIGN="top"
4742><A
4743HREF="book1.html"
4744>Home</A
4745></TD
4746><TD
4747WIDTH="33%"
4748ALIGN="right"
4749VALIGN="top"
4750>&nbsp;</TD
4751></TR
4752><TR
4753><TD
4754WIDTH="33%"
4755ALIGN="left"
4756VALIGN="top"
4757>error</TD
4758><TD
4759WIDTH="34%"
4760ALIGN="center"
4761VALIGN="top"
4762><A
4763HREF="libxml.html"
4764>Up</A
4765></TD
4766><TD
4767WIDTH="33%"
4768ALIGN="right"
4769VALIGN="top"
4770>&nbsp;</TD
4771></TR
4772></TABLE
4773></DIV
4774></BODY
4775></HTML
4776>