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