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