blob: f4a336140388b0d43af8358cc4eb8ef336dffa42 [file] [log] [blame]
Daniel Veillard35925471999-02-25 08:46:07 +00001<HTML
2><HEAD
3><TITLE
4>parserInternals</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.33"><LINK
8REL="HOME"
9TITLE="Gnome XML Library Reference Manual"
10HREF="book1.html"><LINK
11REL="UP"
12TITLE="Gnome XML Library"
13HREF="libxml.html"><LINK
14REL="PREVIOUS"
Daniel Veillardd109e371999-03-05 06:26:45 +000015TITLE="xml-error"
16HREF="gnome-xml-xml-error.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000017><BODY
18BGCOLOR="#FFFFFF"
19TEXT="#000000"
20><DIV
21CLASS="NAVHEADER"
22><TABLE
23WIDTH="100%"
24BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000025BGCOLOR="#000000"
26CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000027CELLSPACING="0"
28><TR
29><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000030COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000031ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000032><FONT
33COLOR="#FFFFFF"
34SIZE="5"
35>Gnome XML Library Reference Manual</FONT
36></TH
Daniel Veillard35925471999-02-25 08:46:07 +000037></TR
38><TR
39><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000040WIDTH="25%"
41BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000042ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000043><A
Daniel Veillardd109e371999-03-05 06:26:45 +000044HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000045><FONT
46COLOR="#FFFFFF"
47SIZE="3"
48><B
49>&#60;&#60;&#60; Previous Page</B
50></FONT
51></A
Daniel Veillard35925471999-02-25 08:46:07 +000052></TD
53><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000054WIDTH="25%"
55BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000056ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000057><FONT
58COLOR="#FFFFFF"
59SIZE="3"
60><B
61><A
62HREF="book1.html"
63><FONT
64COLOR="#FFFFFF"
65SIZE="3"
66><B
67>Home</B
68></FONT
69></A
70></B
71></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000072></TD
73><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000074WIDTH="25%"
75BGCOLOR="#00C000"
76ALIGN="center"
77><FONT
78COLOR="#FFFFFF"
79SIZE="3"
80><B
81><A
82HREF="libxml.html"
83><FONT
84COLOR="#FFFFFF"
85SIZE="3"
86><B
87>Up</B
88></FONT
89></A
90></B
91></FONT
92></TD
93><TD
94WIDTH="25%"
95BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000096ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +000097>&nbsp;</TD
98></TR
99></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000100></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000101><H1
102>parserInternals</H1
103><DIV
104CLASS="REFNAMEDIV"
105><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000106NAME="AEN4471"
Daniel Veillard35925471999-02-25 08:46:07 +0000107></A
108><H2
109>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000110>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000111><DIV
112CLASS="REFSYNOPSISDIV"
113><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000114NAME="AEN4474"
Daniel Veillard35925471999-02-25 08:46:07 +0000115></A
116><H2
117>Synopsis</H2
118><TABLE
119BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000120BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000121WIDTH="100%"
122CELLPADDING="6"
123><TR
124><TD
125><PRE
126CLASS="SYNOPSIS"
127>&#13;
128
Daniel Veillard5099ae81999-04-21 20:12:07 +0000129#define <A
130HREF="gnome-xml-parserinternals.html#IS-CHAR"
131>IS_CHAR</A
132> (c)
133#define <A
134HREF="gnome-xml-parserinternals.html#IS-BLANK"
135>IS_BLANK</A
136> (c)
137#define <A
138HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
139>IS_BASECHAR</A
140> (c)
141#define <A
142HREF="gnome-xml-parserinternals.html#IS-DIGIT"
143>IS_DIGIT</A
144> (c)
145#define <A
146HREF="gnome-xml-parserinternals.html#IS-COMBINING"
147>IS_COMBINING</A
148> (c)
149#define <A
150HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
151>IS_EXTENDER</A
152> (c)
153#define <A
154HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
155>IS_IDEOGRAPHIC</A
156> (c)
157#define <A
158HREF="gnome-xml-parserinternals.html#IS-LETTER"
159>IS_LETTER</A
160> (c)
161#define <A
162HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
163>IS_PUBIDCHAR</A
164> (c)
165#define <A
166HREF="gnome-xml-parserinternals.html#SKIP-EOL"
167>SKIP_EOL</A
168> (p)
169#define <A
170HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
171>MOVETO_ENDTAG</A
172> (p)
173#define <A
174HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
175>MOVETO_STARTTAG</A
176> (p)
Daniel Veillardd692aa41999-02-28 21:54:31 +0000177<A
178HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
179>xmlParserCtxtPtr</A
180> <A
181HREF="gnome-xml-parserinternals.html#XMLCREATEDOCPARSERCTXT"
182>xmlCreateDocParserCtxt</A
183> (<A
184HREF="gnome-xml-tree.html#CHAR"
185>CHAR</A
186> *cur);
187<A
188HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
189>xmlParserCtxtPtr</A
190> <A
191HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
192>xmlCreateFileParserCtxt</A
193> (const char *filename);
194<A
195HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
196>xmlParserCtxtPtr</A
197> <A
198HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
199>xmlCreateMemoryParserCtxt</A
200> (char *buffer,
201 int size);
202void <A
203HREF="gnome-xml-parserinternals.html#XMLFREEPARSERCTXT"
204>xmlFreeParserCtxt</A
205> (<A
206HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
207>xmlParserCtxtPtr</A
208> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000209void <A
210HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
211>xmlHandleEntity</A
212> (<A
213HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
214>xmlParserCtxtPtr</A
215> ctxt,
216 <A
217HREF="gnome-xml-entities.html#XMLENTITYPTR"
218>xmlEntityPtr</A
219> entity);
220<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000221HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
222>xmlParserInputPtr</A
223> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000224HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000225>xmlNewEntityInputStream</A
226> (<A
227HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
228>xmlParserCtxtPtr</A
229> ctxt,
230 <A
231HREF="gnome-xml-entities.html#XMLENTITYPTR"
232>xmlEntityPtr</A
233> entity);
234void <A
235HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
236>xmlPushInput</A
237> (<A
238HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
239>xmlParserCtxtPtr</A
240> ctxt,
241 <A
242HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
243>xmlParserInputPtr</A
244> input);
245<A
246HREF="gnome-xml-tree.html#CHAR"
247>CHAR</A
248> <A
249HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
250>xmlPopInput</A
251> (<A
252HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
253>xmlParserCtxtPtr</A
254> ctxt);
255void <A
256HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
257>xmlFreeInputStream</A
258> (<A
259HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
260>xmlParserInputPtr</A
261> input);
262<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000263HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
264>xmlParserInputPtr</A
265> <A
266HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
267>xmlNewInputFromFile</A
268> (<A
269HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
270>xmlParserCtxtPtr</A
271> ctxt,
272 const char *filename);
273<A
Daniel Veillard35925471999-02-25 08:46:07 +0000274HREF="gnome-xml-tree.html#CHAR"
275>CHAR</A
276>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000277HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
278>xmlSplitQName</A
279> (const <A
280HREF="gnome-xml-tree.html#CHAR"
281>CHAR</A
282> *name,
283 <A
284HREF="gnome-xml-tree.html#CHAR"
285>CHAR</A
286> **prefix);
287<A
288HREF="gnome-xml-tree.html#CHAR"
289>CHAR</A
290>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000291HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
292>xmlNamespaceParseNCName</A
293> (<A
294HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
295>xmlParserCtxtPtr</A
296> ctxt);
297<A
298HREF="gnome-xml-tree.html#CHAR"
299>CHAR</A
300>* <A
301HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
302>xmlNamespaceParseQName</A
303> (<A
304HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
305>xmlParserCtxtPtr</A
306> ctxt,
307 <A
308HREF="gnome-xml-tree.html#CHAR"
309>CHAR</A
310> **prefix);
311<A
312HREF="gnome-xml-tree.html#CHAR"
313>CHAR</A
314>* <A
315HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
316>xmlNamespaceParseNSDef</A
317> (<A
318HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
319>xmlParserCtxtPtr</A
320> ctxt);
321<A
322HREF="gnome-xml-tree.html#CHAR"
323>CHAR</A
324>* <A
325HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
326>xmlParseQuotedString</A
327> (<A
328HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
329>xmlParserCtxtPtr</A
330> ctxt);
331void <A
332HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
333>xmlParseNamespace</A
334> (<A
335HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
336>xmlParserCtxtPtr</A
337> ctxt);
338<A
339HREF="gnome-xml-tree.html#CHAR"
340>CHAR</A
341>* <A
342HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
343>xmlParseName</A
344> (<A
345HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
346>xmlParserCtxtPtr</A
347> ctxt);
348<A
349HREF="gnome-xml-tree.html#CHAR"
350>CHAR</A
351>* <A
352HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
353>xmlParseNmtoken</A
354> (<A
355HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
356>xmlParserCtxtPtr</A
357> ctxt);
358<A
359HREF="gnome-xml-tree.html#CHAR"
360>CHAR</A
361>* <A
362HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
363>xmlParseEntityValue</A
364> (<A
365HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
366>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000367> ctxt,
368 <A
369HREF="gnome-xml-tree.html#CHAR"
370>CHAR</A
371> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000372<A
373HREF="gnome-xml-tree.html#CHAR"
374>CHAR</A
375>* <A
376HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
377>xmlParseAttValue</A
378> (<A
379HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
380>xmlParserCtxtPtr</A
381> ctxt);
382<A
383HREF="gnome-xml-tree.html#CHAR"
384>CHAR</A
385>* <A
386HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
387>xmlParseSystemLiteral</A
388> (<A
389HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
390>xmlParserCtxtPtr</A
391> ctxt);
392<A
393HREF="gnome-xml-tree.html#CHAR"
394>CHAR</A
395>* <A
396HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
397>xmlParsePubidLiteral</A
398> (<A
399HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
400>xmlParserCtxtPtr</A
401> ctxt);
402void <A
403HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
404>xmlParseCharData</A
405> (<A
406HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
407>xmlParserCtxtPtr</A
408> ctxt,
409 int cdata);
410<A
411HREF="gnome-xml-tree.html#CHAR"
412>CHAR</A
413>* <A
414HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
415>xmlParseExternalID</A
416> (<A
417HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
418>xmlParserCtxtPtr</A
419> ctxt,
420 <A
421HREF="gnome-xml-tree.html#CHAR"
422>CHAR</A
423> **publicID,
424 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000425void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000426HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
427>xmlParseComment</A
428> (<A
429HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
430>xmlParserCtxtPtr</A
431> ctxt,
432 int create);
433<A
434HREF="gnome-xml-tree.html#CHAR"
435>CHAR</A
436>* <A
437HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
438>xmlParsePITarget</A
439> (<A
440HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
441>xmlParserCtxtPtr</A
442> ctxt);
443void <A
444HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
445>xmlParsePI</A
446> (<A
447HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
448>xmlParserCtxtPtr</A
449> ctxt);
450void <A
451HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
452>xmlParseNotationDecl</A
453> (<A
454HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
455>xmlParserCtxtPtr</A
456> ctxt);
457void <A
458HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
459>xmlParseEntityDecl</A
460> (<A
461HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
462>xmlParserCtxtPtr</A
463> ctxt);
464int <A
465HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
466>xmlParseDefaultDecl</A
467> (<A
468HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
469>xmlParserCtxtPtr</A
470> ctxt,
471 <A
472HREF="gnome-xml-tree.html#CHAR"
473>CHAR</A
474> **value);
475<A
476HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
477>xmlEnumerationPtr</A
478> <A
479HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
480>xmlParseNotationType</A
481> (<A
482HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
483>xmlParserCtxtPtr</A
484> ctxt);
485<A
486HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
487>xmlEnumerationPtr</A
488> <A
489HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
490>xmlParseEnumerationType</A
491> (<A
492HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
493>xmlParserCtxtPtr</A
494> ctxt);
495int <A
496HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
497>xmlParseEnumeratedType</A
498> (<A
499HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
500>xmlParserCtxtPtr</A
501> ctxt,
502 <A
503HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
504>xmlEnumerationPtr</A
505> *tree);
506int <A
507HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
508>xmlParseAttributeType</A
509> (<A
510HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
511>xmlParserCtxtPtr</A
512> ctxt,
513 <A
514HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
515>xmlEnumerationPtr</A
516> *tree);
517void <A
518HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
519>xmlParseAttributeListDecl</A
520> (<A
521HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
522>xmlParserCtxtPtr</A
523> ctxt);
524<A
525HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
526>xmlElementContentPtr</A
527> <A
528HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
529>xmlParseElementMixedContentDecl</A
530>
531 (<A
532HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
533>xmlParserCtxtPtr</A
534> ctxt);
535<A
536HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
537>xmlElementContentPtr</A
538> <A
539HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
540>xmlParseElementChildrenContentDecl</A
541>
542 (<A
543HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
544>xmlParserCtxtPtr</A
545> ctxt);
546int <A
547HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
548>xmlParseElementContentDecl</A
549> (<A
550HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
551>xmlParserCtxtPtr</A
552> ctxt,
553 <A
554HREF="gnome-xml-tree.html#CHAR"
555>CHAR</A
556> *name,
557 <A
558HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
559>xmlElementContentPtr</A
560> *result);
561int <A
562HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
563>xmlParseElementDecl</A
564> (<A
565HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
566>xmlParserCtxtPtr</A
567> ctxt);
568void <A
569HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
570>xmlParseMarkupDecl</A
571> (<A
572HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
573>xmlParserCtxtPtr</A
574> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000575int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000576HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
577>xmlParseCharRef</A
578> (<A
579HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
580>xmlParserCtxtPtr</A
581> ctxt);
582<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000583HREF="gnome-xml-entities.html#XMLENTITYPTR"
584>xmlEntityPtr</A
585> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000586HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
587>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000588> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000589HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
590>xmlParserCtxtPtr</A
591> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000592void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000593HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
594>xmlParseReference</A
595> (<A
596HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
597>xmlParserCtxtPtr</A
598> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000599void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000600HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
601>xmlParsePEReference</A
602> (<A
603HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
604>xmlParserCtxtPtr</A
605> ctxt);
606void <A
607HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
608>xmlParseDocTypeDecl</A
609> (<A
610HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
611>xmlParserCtxtPtr</A
612> ctxt);
613<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000614HREF="gnome-xml-tree.html#CHAR"
615>CHAR</A
616>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000617HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
618>xmlParseAttribute</A
619> (<A
620HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
621>xmlParserCtxtPtr</A
622> ctxt,
623 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000624HREF="gnome-xml-tree.html#CHAR"
625>CHAR</A
626> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000627<A
628HREF="gnome-xml-tree.html#CHAR"
629>CHAR</A
630>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000631HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
632>xmlParseStartTag</A
633> (<A
634HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
635>xmlParserCtxtPtr</A
636> ctxt);
637void <A
638HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
639>xmlParseEndTag</A
640> (<A
641HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
642>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000643> ctxt,
644 <A
645HREF="gnome-xml-tree.html#CHAR"
646>CHAR</A
647> *tagname);
Daniel Veillard35925471999-02-25 08:46:07 +0000648void <A
649HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
650>xmlParseCDSect</A
651> (<A
652HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
653>xmlParserCtxtPtr</A
654> ctxt);
655void <A
656HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
657>xmlParseContent</A
658> (<A
659HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
660>xmlParserCtxtPtr</A
661> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000662void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000663HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
664>xmlParseElement</A
665> (<A
666HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
667>xmlParserCtxtPtr</A
668> ctxt);
669<A
670HREF="gnome-xml-tree.html#CHAR"
671>CHAR</A
672>* <A
673HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
674>xmlParseVersionNum</A
675> (<A
676HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
677>xmlParserCtxtPtr</A
678> ctxt);
679<A
680HREF="gnome-xml-tree.html#CHAR"
681>CHAR</A
682>* <A
683HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
684>xmlParseVersionInfo</A
685> (<A
686HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
687>xmlParserCtxtPtr</A
688> ctxt);
689<A
690HREF="gnome-xml-tree.html#CHAR"
691>CHAR</A
692>* <A
693HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
694>xmlParseEncName</A
695> (<A
696HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
697>xmlParserCtxtPtr</A
698> ctxt);
699<A
700HREF="gnome-xml-tree.html#CHAR"
701>CHAR</A
702>* <A
703HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
704>xmlParseEncodingDecl</A
705> (<A
706HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
707>xmlParserCtxtPtr</A
708> ctxt);
709int <A
710HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
711>xmlParseSDDecl</A
712> (<A
713HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
714>xmlParserCtxtPtr</A
715> ctxt);
716void <A
717HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
718>xmlParseXMLDecl</A
719> (<A
720HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
721>xmlParserCtxtPtr</A
722> ctxt);
723void <A
724HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
725>xmlParseMisc</A
726> (<A
727HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
728>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000729> ctxt);
730#define <A
731HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
732>XML_SUBSTITUTE_NONE</A
733>
734#define <A
735HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
736>XML_SUBSTITUTE_REF</A
737>
738#define <A
739HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
740>XML_SUBSTITUTE_PEREF</A
741>
742#define <A
743HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
744>XML_SUBSTITUTE_BOTH</A
745>
746<A
747HREF="gnome-xml-tree.html#CHAR"
748>CHAR</A
749>* <A
750HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
751>xmlDecodeEntities</A
752> (<A
753HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
754>xmlParserCtxtPtr</A
755> ctxt,
756 int len,
757 int what,
758 <A
759HREF="gnome-xml-tree.html#CHAR"
760>CHAR</A
761> end,
762 <A
763HREF="gnome-xml-tree.html#CHAR"
764>CHAR</A
765> end2,
766 <A
767HREF="gnome-xml-tree.html#CHAR"
768>CHAR</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000769> end3);
770int <A
771HREF="gnome-xml-parserinternals.html#NODEPUSH"
772>nodePush</A
773> (<A
774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
775>xmlParserCtxtPtr</A
776> ctxt,
777 <A
778HREF="gnome-xml-tree.html#XMLNODEPTR"
779>xmlNodePtr</A
780> value);
781<A
782HREF="gnome-xml-tree.html#XMLNODEPTR"
783>xmlNodePtr</A
784> <A
785HREF="gnome-xml-parserinternals.html#NODEPOP"
786>nodePop</A
787> (<A
788HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
789>xmlParserCtxtPtr</A
790> ctxt);
791int <A
792HREF="gnome-xml-parserinternals.html#INPUTPUSH"
793>inputPush</A
794> (<A
795HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
796>xmlParserCtxtPtr</A
797> ctxt,
798 <A
799HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
800>xmlParserInputPtr</A
801> value);
802<A
803HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
804>xmlParserInputPtr</A
805> <A
806HREF="gnome-xml-parserinternals.html#INPUTPOP"
807>inputPop</A
808> (<A
809HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
810>xmlParserCtxtPtr</A
811> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000812></TD
813></TR
814></TABLE
815></DIV
816><DIV
817CLASS="REFSECT1"
818><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000819NAME="AEN4669"
Daniel Veillard35925471999-02-25 08:46:07 +0000820></A
821><H2
822>Description</H2
823><P
824></P
825></DIV
826><DIV
827CLASS="REFSECT1"
828><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000829NAME="AEN4672"
Daniel Veillard35925471999-02-25 08:46:07 +0000830></A
831><H2
832>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000833><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000834CLASS="REFSECT2"
835><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000836NAME="AEN4674"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000837></A
838><H3
839><A
840NAME="IS-CHAR"
841></A
842>IS_CHAR()</H3
843><TABLE
844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000845BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000846WIDTH="100%"
847CELLPADDING="6"
848><TR
849><TD
850><PRE
851CLASS="PROGRAMLISTING"
852>#define IS_CHAR(c)</PRE
853></TD
854></TR
855></TABLE
856><P
857></P
858><DIV
859CLASS="INFORMALTABLE"
860><P
861></P
862><TABLE
863BORDER="0"
864WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000865BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000866CELLSPACING="0"
867CELLPADDING="4"
868CLASS="CALSTABLE"
869><TR
870><TD
871WIDTH="20%"
872ALIGN="RIGHT"
873VALIGN="TOP"
874><TT
875CLASS="PARAMETER"
876><I
877>c</I
878></TT
879>&nbsp;:</TD
880><TD
881WIDTH="80%"
882ALIGN="LEFT"
883VALIGN="TOP"
884>&nbsp;</TD
885></TR
886></TABLE
887><P
888></P
889></DIV
890></DIV
891><HR><DIV
892CLASS="REFSECT2"
893><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000894NAME="AEN4688"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000895></A
896><H3
897><A
898NAME="IS-BLANK"
899></A
900>IS_BLANK()</H3
901><TABLE
902BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000903BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000904WIDTH="100%"
905CELLPADDING="6"
906><TR
907><TD
908><PRE
909CLASS="PROGRAMLISTING"
910>#define IS_BLANK(c)</PRE
911></TD
912></TR
913></TABLE
914><P
915></P
916><DIV
917CLASS="INFORMALTABLE"
918><P
919></P
920><TABLE
921BORDER="0"
922WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000923BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000924CELLSPACING="0"
925CELLPADDING="4"
926CLASS="CALSTABLE"
927><TR
928><TD
929WIDTH="20%"
930ALIGN="RIGHT"
931VALIGN="TOP"
932><TT
933CLASS="PARAMETER"
934><I
935>c</I
936></TT
937>&nbsp;:</TD
938><TD
939WIDTH="80%"
940ALIGN="LEFT"
941VALIGN="TOP"
942>&nbsp;</TD
943></TR
944></TABLE
945><P
946></P
947></DIV
948></DIV
949><HR><DIV
950CLASS="REFSECT2"
951><A
Daniel Veillard14fff061999-06-22 21:49:07 +0000952NAME="AEN4702"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000953></A
954><H3
955><A
956NAME="IS-BASECHAR"
957></A
958>IS_BASECHAR()</H3
959><TABLE
960BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000961BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000962WIDTH="100%"
963CELLPADDING="6"
964><TR
965><TD
966><PRE
967CLASS="PROGRAMLISTING"
968>#define IS_BASECHAR(c)</PRE
969></TD
970></TR
971></TABLE
972><P
973></P
974><DIV
975CLASS="INFORMALTABLE"
976><P
977></P
978><TABLE
979BORDER="0"
980WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000981BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000982CELLSPACING="0"
983CELLPADDING="4"
984CLASS="CALSTABLE"
985><TR
986><TD
987WIDTH="20%"
988ALIGN="RIGHT"
989VALIGN="TOP"
990><TT
991CLASS="PARAMETER"
992><I
993>c</I
994></TT
995>&nbsp;:</TD
996><TD
997WIDTH="80%"
998ALIGN="LEFT"
999VALIGN="TOP"
1000>&nbsp;</TD
1001></TR
1002></TABLE
1003><P
1004></P
1005></DIV
1006></DIV
1007><HR><DIV
1008CLASS="REFSECT2"
1009><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001010NAME="AEN4716"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001011></A
1012><H3
1013><A
1014NAME="IS-DIGIT"
1015></A
1016>IS_DIGIT()</H3
1017><TABLE
1018BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001019BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001020WIDTH="100%"
1021CELLPADDING="6"
1022><TR
1023><TD
1024><PRE
1025CLASS="PROGRAMLISTING"
1026>#define IS_DIGIT(c)</PRE
1027></TD
1028></TR
1029></TABLE
1030><P
1031></P
1032><DIV
1033CLASS="INFORMALTABLE"
1034><P
1035></P
1036><TABLE
1037BORDER="0"
1038WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001039BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001040CELLSPACING="0"
1041CELLPADDING="4"
1042CLASS="CALSTABLE"
1043><TR
1044><TD
1045WIDTH="20%"
1046ALIGN="RIGHT"
1047VALIGN="TOP"
1048><TT
1049CLASS="PARAMETER"
1050><I
1051>c</I
1052></TT
1053>&nbsp;:</TD
1054><TD
1055WIDTH="80%"
1056ALIGN="LEFT"
1057VALIGN="TOP"
1058>&nbsp;</TD
1059></TR
1060></TABLE
1061><P
1062></P
1063></DIV
1064></DIV
1065><HR><DIV
1066CLASS="REFSECT2"
1067><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001068NAME="AEN4730"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001069></A
1070><H3
1071><A
1072NAME="IS-COMBINING"
1073></A
1074>IS_COMBINING()</H3
1075><TABLE
1076BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001077BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001078WIDTH="100%"
1079CELLPADDING="6"
1080><TR
1081><TD
1082><PRE
1083CLASS="PROGRAMLISTING"
1084>#define IS_COMBINING(c)</PRE
1085></TD
1086></TR
1087></TABLE
1088><P
1089></P
1090><DIV
1091CLASS="INFORMALTABLE"
1092><P
1093></P
1094><TABLE
1095BORDER="0"
1096WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001097BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001098CELLSPACING="0"
1099CELLPADDING="4"
1100CLASS="CALSTABLE"
1101><TR
1102><TD
1103WIDTH="20%"
1104ALIGN="RIGHT"
1105VALIGN="TOP"
1106><TT
1107CLASS="PARAMETER"
1108><I
1109>c</I
1110></TT
1111>&nbsp;:</TD
1112><TD
1113WIDTH="80%"
1114ALIGN="LEFT"
1115VALIGN="TOP"
1116>&nbsp;</TD
1117></TR
1118></TABLE
1119><P
1120></P
1121></DIV
1122></DIV
1123><HR><DIV
1124CLASS="REFSECT2"
1125><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001126NAME="AEN4744"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001127></A
1128><H3
1129><A
1130NAME="IS-EXTENDER"
1131></A
1132>IS_EXTENDER()</H3
1133><TABLE
1134BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001135BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001136WIDTH="100%"
1137CELLPADDING="6"
1138><TR
1139><TD
1140><PRE
1141CLASS="PROGRAMLISTING"
1142>#define IS_EXTENDER(c)</PRE
1143></TD
1144></TR
1145></TABLE
1146><P
1147></P
1148><DIV
1149CLASS="INFORMALTABLE"
1150><P
1151></P
1152><TABLE
1153BORDER="0"
1154WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001155BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001156CELLSPACING="0"
1157CELLPADDING="4"
1158CLASS="CALSTABLE"
1159><TR
1160><TD
1161WIDTH="20%"
1162ALIGN="RIGHT"
1163VALIGN="TOP"
1164><TT
1165CLASS="PARAMETER"
1166><I
1167>c</I
1168></TT
1169>&nbsp;:</TD
1170><TD
1171WIDTH="80%"
1172ALIGN="LEFT"
1173VALIGN="TOP"
1174>&nbsp;</TD
1175></TR
1176></TABLE
1177><P
1178></P
1179></DIV
1180></DIV
1181><HR><DIV
1182CLASS="REFSECT2"
1183><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001184NAME="AEN4758"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001185></A
1186><H3
1187><A
1188NAME="IS-IDEOGRAPHIC"
1189></A
1190>IS_IDEOGRAPHIC()</H3
1191><TABLE
1192BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001193BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001194WIDTH="100%"
1195CELLPADDING="6"
1196><TR
1197><TD
1198><PRE
1199CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001200>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001201></TD
1202></TR
1203></TABLE
1204><P
1205></P
1206><DIV
1207CLASS="INFORMALTABLE"
1208><P
1209></P
1210><TABLE
1211BORDER="0"
1212WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001213BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001214CELLSPACING="0"
1215CELLPADDING="4"
1216CLASS="CALSTABLE"
1217><TR
1218><TD
1219WIDTH="20%"
1220ALIGN="RIGHT"
1221VALIGN="TOP"
1222><TT
1223CLASS="PARAMETER"
1224><I
1225>c</I
1226></TT
1227>&nbsp;:</TD
1228><TD
1229WIDTH="80%"
1230ALIGN="LEFT"
1231VALIGN="TOP"
1232>&nbsp;</TD
1233></TR
1234></TABLE
1235><P
1236></P
1237></DIV
1238></DIV
1239><HR><DIV
1240CLASS="REFSECT2"
1241><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001242NAME="AEN4772"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001243></A
1244><H3
1245><A
1246NAME="IS-LETTER"
1247></A
1248>IS_LETTER()</H3
1249><TABLE
1250BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001251BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001252WIDTH="100%"
1253CELLPADDING="6"
1254><TR
1255><TD
1256><PRE
1257CLASS="PROGRAMLISTING"
1258>#define IS_LETTER(c)</PRE
1259></TD
1260></TR
1261></TABLE
1262><P
1263></P
1264><DIV
1265CLASS="INFORMALTABLE"
1266><P
1267></P
1268><TABLE
1269BORDER="0"
1270WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001271BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001272CELLSPACING="0"
1273CELLPADDING="4"
1274CLASS="CALSTABLE"
1275><TR
1276><TD
1277WIDTH="20%"
1278ALIGN="RIGHT"
1279VALIGN="TOP"
1280><TT
1281CLASS="PARAMETER"
1282><I
1283>c</I
1284></TT
1285>&nbsp;:</TD
1286><TD
1287WIDTH="80%"
1288ALIGN="LEFT"
1289VALIGN="TOP"
1290>&nbsp;</TD
1291></TR
1292></TABLE
1293><P
1294></P
1295></DIV
1296></DIV
1297><HR><DIV
1298CLASS="REFSECT2"
1299><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001300NAME="AEN4786"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001301></A
1302><H3
1303><A
1304NAME="IS-PUBIDCHAR"
1305></A
1306>IS_PUBIDCHAR()</H3
1307><TABLE
1308BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001309BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001310WIDTH="100%"
1311CELLPADDING="6"
1312><TR
1313><TD
1314><PRE
1315CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001316>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001317></TD
1318></TR
1319></TABLE
1320><P
1321></P
1322><DIV
1323CLASS="INFORMALTABLE"
1324><P
1325></P
1326><TABLE
1327BORDER="0"
1328WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001329BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001330CELLSPACING="0"
1331CELLPADDING="4"
1332CLASS="CALSTABLE"
1333><TR
1334><TD
1335WIDTH="20%"
1336ALIGN="RIGHT"
1337VALIGN="TOP"
1338><TT
1339CLASS="PARAMETER"
1340><I
1341>c</I
1342></TT
1343>&nbsp;:</TD
1344><TD
1345WIDTH="80%"
1346ALIGN="LEFT"
1347VALIGN="TOP"
1348>&nbsp;</TD
1349></TR
1350></TABLE
1351><P
1352></P
1353></DIV
1354></DIV
1355><HR><DIV
1356CLASS="REFSECT2"
1357><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001358NAME="AEN4800"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001359></A
1360><H3
1361><A
1362NAME="SKIP-EOL"
1363></A
1364>SKIP_EOL()</H3
1365><TABLE
1366BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001367BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001368WIDTH="100%"
1369CELLPADDING="6"
1370><TR
1371><TD
1372><PRE
1373CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001374>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001375></TD
1376></TR
1377></TABLE
1378><P
1379></P
1380><DIV
1381CLASS="INFORMALTABLE"
1382><P
1383></P
1384><TABLE
1385BORDER="0"
1386WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001387BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001388CELLSPACING="0"
1389CELLPADDING="4"
1390CLASS="CALSTABLE"
1391><TR
1392><TD
1393WIDTH="20%"
1394ALIGN="RIGHT"
1395VALIGN="TOP"
1396><TT
1397CLASS="PARAMETER"
1398><I
1399>p</I
1400></TT
1401>&nbsp;:</TD
1402><TD
1403WIDTH="80%"
1404ALIGN="LEFT"
1405VALIGN="TOP"
1406>&nbsp;</TD
1407></TR
1408></TABLE
1409><P
1410></P
1411></DIV
1412></DIV
1413><HR><DIV
1414CLASS="REFSECT2"
1415><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001416NAME="AEN4814"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001417></A
1418><H3
1419><A
1420NAME="MOVETO-ENDTAG"
1421></A
1422>MOVETO_ENDTAG()</H3
1423><TABLE
1424BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001425BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001426WIDTH="100%"
1427CELLPADDING="6"
1428><TR
1429><TD
1430><PRE
1431CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001432>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001433></TD
1434></TR
1435></TABLE
1436><P
1437></P
1438><DIV
1439CLASS="INFORMALTABLE"
1440><P
1441></P
1442><TABLE
1443BORDER="0"
1444WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001445BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001446CELLSPACING="0"
1447CELLPADDING="4"
1448CLASS="CALSTABLE"
1449><TR
1450><TD
1451WIDTH="20%"
1452ALIGN="RIGHT"
1453VALIGN="TOP"
1454><TT
1455CLASS="PARAMETER"
1456><I
1457>p</I
1458></TT
1459>&nbsp;:</TD
1460><TD
1461WIDTH="80%"
1462ALIGN="LEFT"
1463VALIGN="TOP"
1464>&nbsp;</TD
1465></TR
1466></TABLE
1467><P
1468></P
1469></DIV
1470></DIV
1471><HR><DIV
1472CLASS="REFSECT2"
1473><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001474NAME="AEN4828"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001475></A
1476><H3
1477><A
1478NAME="MOVETO-STARTTAG"
1479></A
1480>MOVETO_STARTTAG()</H3
1481><TABLE
1482BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001483BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001484WIDTH="100%"
1485CELLPADDING="6"
1486><TR
1487><TD
1488><PRE
1489CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001490>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001491></TD
1492></TR
1493></TABLE
1494><P
1495></P
1496><DIV
1497CLASS="INFORMALTABLE"
1498><P
1499></P
1500><TABLE
1501BORDER="0"
1502WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001503BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001504CELLSPACING="0"
1505CELLPADDING="4"
1506CLASS="CALSTABLE"
1507><TR
1508><TD
1509WIDTH="20%"
1510ALIGN="RIGHT"
1511VALIGN="TOP"
1512><TT
1513CLASS="PARAMETER"
1514><I
1515>p</I
1516></TT
1517>&nbsp;:</TD
1518><TD
1519WIDTH="80%"
1520ALIGN="LEFT"
1521VALIGN="TOP"
1522>&nbsp;</TD
1523></TR
1524></TABLE
1525><P
1526></P
1527></DIV
1528></DIV
1529><HR><DIV
1530CLASS="REFSECT2"
1531><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001532NAME="AEN4842"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001533></A
1534><H3
1535><A
1536NAME="XMLCREATEDOCPARSERCTXT"
1537></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001538>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001539><TABLE
1540BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001541BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001542WIDTH="100%"
1543CELLPADDING="6"
1544><TR
1545><TD
1546><PRE
1547CLASS="PROGRAMLISTING"
1548><A
1549HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1550>xmlParserCtxtPtr</A
1551> xmlCreateDocParserCtxt (<A
1552HREF="gnome-xml-tree.html#CHAR"
1553>CHAR</A
1554> *cur);</PRE
1555></TD
1556></TR
1557></TABLE
1558><P
1559></P
1560><DIV
1561CLASS="INFORMALTABLE"
1562><P
1563></P
1564><TABLE
1565BORDER="0"
1566WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001567BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001568CELLSPACING="0"
1569CELLPADDING="4"
1570CLASS="CALSTABLE"
1571><TR
1572><TD
1573WIDTH="20%"
1574ALIGN="RIGHT"
1575VALIGN="TOP"
1576><TT
1577CLASS="PARAMETER"
1578><I
1579>cur</I
1580></TT
1581>&nbsp;:</TD
1582><TD
1583WIDTH="80%"
1584ALIGN="LEFT"
1585VALIGN="TOP"
1586>&nbsp;</TD
1587></TR
1588><TR
1589><TD
1590WIDTH="20%"
1591ALIGN="RIGHT"
1592VALIGN="TOP"
1593><I
1594CLASS="EMPHASIS"
1595>Returns</I
1596> :</TD
1597><TD
1598WIDTH="80%"
1599ALIGN="LEFT"
1600VALIGN="TOP"
1601>&nbsp;</TD
1602></TR
1603></TABLE
1604><P
1605></P
1606></DIV
1607></DIV
1608><HR><DIV
1609CLASS="REFSECT2"
1610><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001611NAME="AEN4862"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001612></A
1613><H3
1614><A
1615NAME="XMLCREATEFILEPARSERCTXT"
1616></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001617>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001618><TABLE
1619BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001620BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001621WIDTH="100%"
1622CELLPADDING="6"
1623><TR
1624><TD
1625><PRE
1626CLASS="PROGRAMLISTING"
1627><A
1628HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1629>xmlParserCtxtPtr</A
1630> xmlCreateFileParserCtxt (const char *filename);</PRE
1631></TD
1632></TR
1633></TABLE
1634><P
1635>Create a parser context for a file content.
1636Automatic support for ZLIB/Compress compressed document is provided
1637by default if found at compile-time.</P
1638><P
1639></P
1640><DIV
1641CLASS="INFORMALTABLE"
1642><P
1643></P
1644><TABLE
1645BORDER="0"
1646WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001647BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001648CELLSPACING="0"
1649CELLPADDING="4"
1650CLASS="CALSTABLE"
1651><TR
1652><TD
1653WIDTH="20%"
1654ALIGN="RIGHT"
1655VALIGN="TOP"
1656><TT
1657CLASS="PARAMETER"
1658><I
1659>filename</I
1660></TT
1661>&nbsp;:</TD
1662><TD
1663WIDTH="80%"
1664ALIGN="LEFT"
1665VALIGN="TOP"
1666> the filename</TD
1667></TR
1668><TR
1669><TD
1670WIDTH="20%"
1671ALIGN="RIGHT"
1672VALIGN="TOP"
1673><I
1674CLASS="EMPHASIS"
1675>Returns</I
1676> :</TD
1677><TD
1678WIDTH="80%"
1679ALIGN="LEFT"
1680VALIGN="TOP"
1681>the new parser context or NULL</TD
1682></TR
1683></TABLE
1684><P
1685></P
1686></DIV
1687></DIV
1688><HR><DIV
1689CLASS="REFSECT2"
1690><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001691NAME="AEN4882"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001692></A
1693><H3
1694><A
1695NAME="XMLCREATEMEMORYPARSERCTXT"
1696></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001697>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001698><TABLE
1699BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001700BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001701WIDTH="100%"
1702CELLPADDING="6"
1703><TR
1704><TD
1705><PRE
1706CLASS="PROGRAMLISTING"
1707><A
1708HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1709>xmlParserCtxtPtr</A
1710> xmlCreateMemoryParserCtxt (char *buffer,
1711 int size);</PRE
1712></TD
1713></TR
1714></TABLE
1715><P
1716>Create a parser context for an XML in-memory document.</P
1717><P
1718></P
1719><DIV
1720CLASS="INFORMALTABLE"
1721><P
1722></P
1723><TABLE
1724BORDER="0"
1725WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001726BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001727CELLSPACING="0"
1728CELLPADDING="4"
1729CLASS="CALSTABLE"
1730><TR
1731><TD
1732WIDTH="20%"
1733ALIGN="RIGHT"
1734VALIGN="TOP"
1735><TT
1736CLASS="PARAMETER"
1737><I
1738>buffer</I
1739></TT
1740>&nbsp;:</TD
1741><TD
1742WIDTH="80%"
1743ALIGN="LEFT"
1744VALIGN="TOP"
1745> an pointer to a char array</TD
1746></TR
1747><TR
1748><TD
1749WIDTH="20%"
1750ALIGN="RIGHT"
1751VALIGN="TOP"
1752><TT
1753CLASS="PARAMETER"
1754><I
1755>size</I
1756></TT
1757>&nbsp;:</TD
1758><TD
1759WIDTH="80%"
1760ALIGN="LEFT"
1761VALIGN="TOP"
1762> the siwe of the array</TD
1763></TR
1764><TR
1765><TD
1766WIDTH="20%"
1767ALIGN="RIGHT"
1768VALIGN="TOP"
1769><I
1770CLASS="EMPHASIS"
1771>Returns</I
1772> :</TD
1773><TD
1774WIDTH="80%"
1775ALIGN="LEFT"
1776VALIGN="TOP"
1777>the new parser context or NULL</TD
1778></TR
1779></TABLE
1780><P
1781></P
1782></DIV
1783></DIV
1784><HR><DIV
1785CLASS="REFSECT2"
1786><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001787NAME="AEN4906"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001788></A
1789><H3
1790><A
1791NAME="XMLFREEPARSERCTXT"
1792></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001793>xmlFreeParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001794><TABLE
1795BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001796BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001797WIDTH="100%"
1798CELLPADDING="6"
1799><TR
1800><TD
1801><PRE
1802CLASS="PROGRAMLISTING"
1803>void xmlFreeParserCtxt (<A
1804HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1805>xmlParserCtxtPtr</A
1806> ctxt);</PRE
1807></TD
1808></TR
1809></TABLE
1810><P
1811>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00001812document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001813><P
1814></P
1815><DIV
1816CLASS="INFORMALTABLE"
1817><P
1818></P
1819><TABLE
1820BORDER="0"
1821WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001822BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001823CELLSPACING="0"
1824CELLPADDING="4"
1825CLASS="CALSTABLE"
1826><TR
1827><TD
1828WIDTH="20%"
1829ALIGN="RIGHT"
1830VALIGN="TOP"
1831><TT
1832CLASS="PARAMETER"
1833><I
1834>ctxt</I
1835></TT
1836>&nbsp;:</TD
1837><TD
1838WIDTH="80%"
1839ALIGN="LEFT"
1840VALIGN="TOP"
1841> an XML parser context</TD
1842></TR
1843></TABLE
1844><P
1845></P
1846></DIV
1847></DIV
1848><HR><DIV
1849CLASS="REFSECT2"
1850><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001851NAME="AEN4922"
Daniel Veillard35925471999-02-25 08:46:07 +00001852></A
1853><H3
1854><A
1855NAME="XMLHANDLEENTITY"
1856></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001857>xmlHandleEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001858><TABLE
1859BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001860BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001861WIDTH="100%"
1862CELLPADDING="6"
1863><TR
1864><TD
1865><PRE
1866CLASS="PROGRAMLISTING"
1867>void xmlHandleEntity (<A
1868HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1869>xmlParserCtxtPtr</A
1870> ctxt,
1871 <A
1872HREF="gnome-xml-entities.html#XMLENTITYPTR"
1873>xmlEntityPtr</A
1874> entity);</PRE
1875></TD
1876></TR
1877></TABLE
1878><P
1879>Default handling of defined entities, when should we define a new input
1880stream ? When do we just handle that as a set of chars ?
1881TODO: we should call the SAX handler here and have it resolve the issue</P
1882><P
1883></P
1884><DIV
1885CLASS="INFORMALTABLE"
1886><P
1887></P
1888><TABLE
1889BORDER="0"
1890WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001891BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001892CELLSPACING="0"
1893CELLPADDING="4"
1894CLASS="CALSTABLE"
1895><TR
1896><TD
1897WIDTH="20%"
1898ALIGN="RIGHT"
1899VALIGN="TOP"
1900><TT
1901CLASS="PARAMETER"
1902><I
1903>ctxt</I
1904></TT
1905>&nbsp;:</TD
1906><TD
1907WIDTH="80%"
1908ALIGN="LEFT"
1909VALIGN="TOP"
1910> an XML parser context</TD
1911></TR
1912><TR
1913><TD
1914WIDTH="20%"
1915ALIGN="RIGHT"
1916VALIGN="TOP"
1917><TT
1918CLASS="PARAMETER"
1919><I
1920>entity</I
1921></TT
1922>&nbsp;:</TD
1923><TD
1924WIDTH="80%"
1925ALIGN="LEFT"
1926VALIGN="TOP"
1927> an XML entity pointer.</TD
1928></TR
1929></TABLE
1930><P
1931></P
1932></DIV
1933></DIV
1934><HR><DIV
1935CLASS="REFSECT2"
1936><A
Daniel Veillard14fff061999-06-22 21:49:07 +00001937NAME="AEN4943"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001938></A
1939><H3
1940><A
1941NAME="XMLNEWENTITYINPUTSTREAM"
1942></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001943>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00001944><TABLE
1945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001946BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001947WIDTH="100%"
1948CELLPADDING="6"
1949><TR
1950><TD
1951><PRE
1952CLASS="PROGRAMLISTING"
1953><A
1954HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1955>xmlParserInputPtr</A
1956> xmlNewEntityInputStream (<A
1957HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1958>xmlParserCtxtPtr</A
1959> ctxt,
1960 <A
1961HREF="gnome-xml-entities.html#XMLENTITYPTR"
1962>xmlEntityPtr</A
1963> entity);</PRE
1964></TD
1965></TR
1966></TABLE
1967><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00001968>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00001969><P
1970></P
1971><DIV
1972CLASS="INFORMALTABLE"
1973><P
1974></P
1975><TABLE
1976BORDER="0"
1977WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001978BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001979CELLSPACING="0"
1980CELLPADDING="4"
1981CLASS="CALSTABLE"
1982><TR
1983><TD
1984WIDTH="20%"
1985ALIGN="RIGHT"
1986VALIGN="TOP"
1987><TT
1988CLASS="PARAMETER"
1989><I
1990>ctxt</I
1991></TT
1992>&nbsp;:</TD
1993><TD
1994WIDTH="80%"
1995ALIGN="LEFT"
1996VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00001997> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00001998></TR
1999><TR
2000><TD
2001WIDTH="20%"
2002ALIGN="RIGHT"
2003VALIGN="TOP"
2004><TT
2005CLASS="PARAMETER"
2006><I
2007>entity</I
2008></TT
2009>&nbsp;:</TD
2010><TD
2011WIDTH="80%"
2012ALIGN="LEFT"
2013VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002014> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002015></TR
2016><TR
2017><TD
2018WIDTH="20%"
2019ALIGN="RIGHT"
2020VALIGN="TOP"
2021><I
2022CLASS="EMPHASIS"
2023>Returns</I
2024> :</TD
2025><TD
2026WIDTH="80%"
2027ALIGN="LEFT"
2028VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002029>the new input stream</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002030></TR
2031></TABLE
2032><P
2033></P
2034></DIV
2035></DIV
2036><HR><DIV
2037CLASS="REFSECT2"
2038><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002039NAME="AEN4969"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002040></A
2041><H3
2042><A
2043NAME="XMLPUSHINPUT"
2044></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002045>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002046><TABLE
2047BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002048BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002049WIDTH="100%"
2050CELLPADDING="6"
2051><TR
2052><TD
2053><PRE
2054CLASS="PROGRAMLISTING"
2055>void xmlPushInput (<A
2056HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2057>xmlParserCtxtPtr</A
2058> ctxt,
2059 <A
2060HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2061>xmlParserInputPtr</A
2062> input);</PRE
2063></TD
2064></TR
2065></TABLE
2066><P
2067>xmlPushInput: switch to a new input stream which is stacked on top
2068of the previous one(s).</P
2069><P
2070></P
2071><DIV
2072CLASS="INFORMALTABLE"
2073><P
2074></P
2075><TABLE
2076BORDER="0"
2077WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002078BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002079CELLSPACING="0"
2080CELLPADDING="4"
2081CLASS="CALSTABLE"
2082><TR
2083><TD
2084WIDTH="20%"
2085ALIGN="RIGHT"
2086VALIGN="TOP"
2087><TT
2088CLASS="PARAMETER"
2089><I
2090>ctxt</I
2091></TT
2092>&nbsp;:</TD
2093><TD
2094WIDTH="80%"
2095ALIGN="LEFT"
2096VALIGN="TOP"
2097> an XML parser context</TD
2098></TR
2099><TR
2100><TD
2101WIDTH="20%"
2102ALIGN="RIGHT"
2103VALIGN="TOP"
2104><TT
2105CLASS="PARAMETER"
2106><I
2107>input</I
2108></TT
2109>&nbsp;:</TD
2110><TD
2111WIDTH="80%"
2112ALIGN="LEFT"
2113VALIGN="TOP"
2114> an XML parser input fragment (entity, XML fragment ...).</TD
2115></TR
2116></TABLE
2117><P
2118></P
2119></DIV
2120></DIV
2121><HR><DIV
2122CLASS="REFSECT2"
2123><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002124NAME="AEN4990"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002125></A
2126><H3
2127><A
2128NAME="XMLPOPINPUT"
2129></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002130>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002131><TABLE
2132BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002133BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002134WIDTH="100%"
2135CELLPADDING="6"
2136><TR
2137><TD
2138><PRE
2139CLASS="PROGRAMLISTING"
2140><A
2141HREF="gnome-xml-tree.html#CHAR"
2142>CHAR</A
2143> xmlPopInput (<A
2144HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2145>xmlParserCtxtPtr</A
2146> ctxt);</PRE
2147></TD
2148></TR
2149></TABLE
2150><P
2151>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2152pop it and return the next char.</P
2153><P
2154>TODO A deallocation of the popped Input structure is needed</P
2155><P
2156></P
2157><DIV
2158CLASS="INFORMALTABLE"
2159><P
2160></P
2161><TABLE
2162BORDER="0"
2163WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002164BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002165CELLSPACING="0"
2166CELLPADDING="4"
2167CLASS="CALSTABLE"
2168><TR
2169><TD
2170WIDTH="20%"
2171ALIGN="RIGHT"
2172VALIGN="TOP"
2173><TT
2174CLASS="PARAMETER"
2175><I
2176>ctxt</I
2177></TT
2178>&nbsp;:</TD
2179><TD
2180WIDTH="80%"
2181ALIGN="LEFT"
2182VALIGN="TOP"
2183> an XML parser context</TD
2184></TR
2185><TR
2186><TD
2187WIDTH="20%"
2188ALIGN="RIGHT"
2189VALIGN="TOP"
2190><I
2191CLASS="EMPHASIS"
2192>Returns</I
2193> :</TD
2194><TD
2195WIDTH="80%"
2196ALIGN="LEFT"
2197VALIGN="TOP"
2198>the current CHAR in the parser context</TD
2199></TR
2200></TABLE
2201><P
2202></P
2203></DIV
2204></DIV
2205><HR><DIV
2206CLASS="REFSECT2"
2207><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002208NAME="AEN5012"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002209></A
2210><H3
2211><A
2212NAME="XMLFREEINPUTSTREAM"
2213></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002214>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002215><TABLE
2216BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002217BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002218WIDTH="100%"
2219CELLPADDING="6"
2220><TR
2221><TD
2222><PRE
2223CLASS="PROGRAMLISTING"
2224>void xmlFreeInputStream (<A
2225HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2226>xmlParserInputPtr</A
2227> input);</PRE
2228></TD
2229></TR
2230></TABLE
2231><P
2232>Free up an input stream.</P
2233><P
2234></P
2235><DIV
2236CLASS="INFORMALTABLE"
2237><P
2238></P
2239><TABLE
2240BORDER="0"
2241WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002242BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002243CELLSPACING="0"
2244CELLPADDING="4"
2245CLASS="CALSTABLE"
2246><TR
2247><TD
2248WIDTH="20%"
2249ALIGN="RIGHT"
2250VALIGN="TOP"
2251><TT
2252CLASS="PARAMETER"
2253><I
2254>input</I
2255></TT
2256>&nbsp;:</TD
2257><TD
2258WIDTH="80%"
2259ALIGN="LEFT"
2260VALIGN="TOP"
2261> an xmlParserInputPtr</TD
2262></TR
2263></TABLE
2264><P
2265></P
2266></DIV
2267></DIV
2268><HR><DIV
2269CLASS="REFSECT2"
2270><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002271NAME="AEN5028"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002272></A
2273><H3
2274><A
2275NAME="XMLNEWINPUTFROMFILE"
2276></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002277>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002278><TABLE
2279BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002280BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002281WIDTH="100%"
2282CELLPADDING="6"
2283><TR
2284><TD
2285><PRE
2286CLASS="PROGRAMLISTING"
2287><A
2288HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2289>xmlParserInputPtr</A
2290> xmlNewInputFromFile (<A
2291HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2292>xmlParserCtxtPtr</A
2293> ctxt,
2294 const char *filename);</PRE
2295></TD
2296></TR
2297></TABLE
2298><P
2299>Create a new input stream based on a file.</P
2300><P
2301></P
2302><DIV
2303CLASS="INFORMALTABLE"
2304><P
2305></P
2306><TABLE
2307BORDER="0"
2308WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002309BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002310CELLSPACING="0"
2311CELLPADDING="4"
2312CLASS="CALSTABLE"
2313><TR
2314><TD
2315WIDTH="20%"
2316ALIGN="RIGHT"
2317VALIGN="TOP"
2318><TT
2319CLASS="PARAMETER"
2320><I
2321>ctxt</I
2322></TT
2323>&nbsp;:</TD
2324><TD
2325WIDTH="80%"
2326ALIGN="LEFT"
2327VALIGN="TOP"
2328> an XML parser context</TD
2329></TR
2330><TR
2331><TD
2332WIDTH="20%"
2333ALIGN="RIGHT"
2334VALIGN="TOP"
2335><TT
2336CLASS="PARAMETER"
2337><I
2338>filename</I
2339></TT
2340>&nbsp;:</TD
2341><TD
2342WIDTH="80%"
2343ALIGN="LEFT"
2344VALIGN="TOP"
2345> the filename to use as entity</TD
2346></TR
2347><TR
2348><TD
2349WIDTH="20%"
2350ALIGN="RIGHT"
2351VALIGN="TOP"
2352><I
2353CLASS="EMPHASIS"
2354>Returns</I
2355> :</TD
2356><TD
2357WIDTH="80%"
2358ALIGN="LEFT"
2359VALIGN="TOP"
2360>the new input stream or NULL in case of error</TD
2361></TR
2362></TABLE
2363><P
2364></P
2365></DIV
2366></DIV
2367><HR><DIV
2368CLASS="REFSECT2"
2369><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002370NAME="AEN5053"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002371></A
2372><H3
2373><A
2374NAME="XMLSPLITQNAME"
2375></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002376>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002377><TABLE
2378BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002379BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002380WIDTH="100%"
2381CELLPADDING="6"
2382><TR
2383><TD
2384><PRE
2385CLASS="PROGRAMLISTING"
2386><A
2387HREF="gnome-xml-tree.html#CHAR"
2388>CHAR</A
2389>* xmlSplitQName (const <A
2390HREF="gnome-xml-tree.html#CHAR"
2391>CHAR</A
2392> *name,
2393 <A
2394HREF="gnome-xml-tree.html#CHAR"
2395>CHAR</A
2396> **prefix);</PRE
2397></TD
2398></TR
2399></TABLE
2400><P
2401>parse an XML qualified name string</P
2402><P
2403>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2404><P
2405>[NS 6] Prefix ::= NCName</P
2406><P
2407>[NS 7] LocalPart ::= NCName</P
2408><P
2409></P
2410><DIV
2411CLASS="INFORMALTABLE"
2412><P
2413></P
2414><TABLE
2415BORDER="0"
2416WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002417BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002418CELLSPACING="0"
2419CELLPADDING="4"
2420CLASS="CALSTABLE"
2421><TR
2422><TD
2423WIDTH="20%"
2424ALIGN="RIGHT"
2425VALIGN="TOP"
2426><TT
2427CLASS="PARAMETER"
2428><I
2429>name</I
2430></TT
2431>&nbsp;:</TD
2432><TD
2433WIDTH="80%"
2434ALIGN="LEFT"
2435VALIGN="TOP"
2436> an XML parser context</TD
2437></TR
2438><TR
2439><TD
2440WIDTH="20%"
2441ALIGN="RIGHT"
2442VALIGN="TOP"
2443><TT
2444CLASS="PARAMETER"
2445><I
2446>prefix</I
2447></TT
2448>&nbsp;:</TD
2449><TD
2450WIDTH="80%"
2451ALIGN="LEFT"
2452VALIGN="TOP"
2453> a CHAR ** </TD
2454></TR
2455><TR
2456><TD
2457WIDTH="20%"
2458ALIGN="RIGHT"
2459VALIGN="TOP"
2460><I
2461CLASS="EMPHASIS"
2462>Returns</I
2463> :</TD
2464><TD
2465WIDTH="80%"
2466ALIGN="LEFT"
2467VALIGN="TOP"
2468>the function returns the local part, and prefix is updated
2469to get the Prefix if any.</TD
2470></TR
2471></TABLE
2472><P
2473></P
2474></DIV
2475></DIV
2476><HR><DIV
2477CLASS="REFSECT2"
2478><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002479NAME="AEN5082"
Daniel Veillard35925471999-02-25 08:46:07 +00002480></A
2481><H3
2482><A
2483NAME="XMLNAMESPACEPARSENCNAME"
2484></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002485>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002486><TABLE
2487BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002488BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002489WIDTH="100%"
2490CELLPADDING="6"
2491><TR
2492><TD
2493><PRE
2494CLASS="PROGRAMLISTING"
2495><A
2496HREF="gnome-xml-tree.html#CHAR"
2497>CHAR</A
2498>* xmlNamespaceParseNCName (<A
2499HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2500>xmlParserCtxtPtr</A
2501> ctxt);</PRE
2502></TD
2503></TR
2504></TABLE
2505><P
2506>parse an XML namespace name.</P
2507><P
2508>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2509><P
2510>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2511CombiningChar | Extender</P
2512><P
2513></P
2514><DIV
2515CLASS="INFORMALTABLE"
2516><P
2517></P
2518><TABLE
2519BORDER="0"
2520WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002521BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002522CELLSPACING="0"
2523CELLPADDING="4"
2524CLASS="CALSTABLE"
2525><TR
2526><TD
2527WIDTH="20%"
2528ALIGN="RIGHT"
2529VALIGN="TOP"
2530><TT
2531CLASS="PARAMETER"
2532><I
2533>ctxt</I
2534></TT
2535>&nbsp;:</TD
2536><TD
2537WIDTH="80%"
2538ALIGN="LEFT"
2539VALIGN="TOP"
2540> an XML parser context</TD
2541></TR
2542><TR
2543><TD
2544WIDTH="20%"
2545ALIGN="RIGHT"
2546VALIGN="TOP"
2547><I
2548CLASS="EMPHASIS"
2549>Returns</I
2550> :</TD
2551><TD
2552WIDTH="80%"
2553ALIGN="LEFT"
2554VALIGN="TOP"
2555>the namespace name or NULL</TD
2556></TR
2557></TABLE
2558><P
2559></P
2560></DIV
2561></DIV
2562><HR><DIV
2563CLASS="REFSECT2"
2564><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002565NAME="AEN5105"
Daniel Veillard35925471999-02-25 08:46:07 +00002566></A
2567><H3
2568><A
2569NAME="XMLNAMESPACEPARSEQNAME"
2570></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002571>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002572><TABLE
2573BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002574BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002575WIDTH="100%"
2576CELLPADDING="6"
2577><TR
2578><TD
2579><PRE
2580CLASS="PROGRAMLISTING"
2581><A
2582HREF="gnome-xml-tree.html#CHAR"
2583>CHAR</A
2584>* xmlNamespaceParseQName (<A
2585HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2586>xmlParserCtxtPtr</A
2587> ctxt,
2588 <A
2589HREF="gnome-xml-tree.html#CHAR"
2590>CHAR</A
2591> **prefix);</PRE
2592></TD
2593></TR
2594></TABLE
2595><P
2596>parse an XML qualified name</P
2597><P
2598>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2599><P
2600>[NS 6] Prefix ::= NCName</P
2601><P
2602>[NS 7] LocalPart ::= NCName</P
2603><P
2604></P
2605><DIV
2606CLASS="INFORMALTABLE"
2607><P
2608></P
2609><TABLE
2610BORDER="0"
2611WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002612BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002613CELLSPACING="0"
2614CELLPADDING="4"
2615CLASS="CALSTABLE"
2616><TR
2617><TD
2618WIDTH="20%"
2619ALIGN="RIGHT"
2620VALIGN="TOP"
2621><TT
2622CLASS="PARAMETER"
2623><I
2624>ctxt</I
2625></TT
2626>&nbsp;:</TD
2627><TD
2628WIDTH="80%"
2629ALIGN="LEFT"
2630VALIGN="TOP"
2631> an XML parser context</TD
2632></TR
2633><TR
2634><TD
2635WIDTH="20%"
2636ALIGN="RIGHT"
2637VALIGN="TOP"
2638><TT
2639CLASS="PARAMETER"
2640><I
2641>prefix</I
2642></TT
2643>&nbsp;:</TD
2644><TD
2645WIDTH="80%"
2646ALIGN="LEFT"
2647VALIGN="TOP"
2648> a CHAR ** </TD
2649></TR
2650><TR
2651><TD
2652WIDTH="20%"
2653ALIGN="RIGHT"
2654VALIGN="TOP"
2655><I
2656CLASS="EMPHASIS"
2657>Returns</I
2658> :</TD
2659><TD
2660WIDTH="80%"
2661ALIGN="LEFT"
2662VALIGN="TOP"
2663>the function returns the local part, and prefix is updated
2664to get the Prefix if any.</TD
2665></TR
2666></TABLE
2667><P
2668></P
2669></DIV
2670></DIV
2671><HR><DIV
2672CLASS="REFSECT2"
2673><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002674NAME="AEN5134"
Daniel Veillard35925471999-02-25 08:46:07 +00002675></A
2676><H3
2677><A
2678NAME="XMLNAMESPACEPARSENSDEF"
2679></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002680>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002681><TABLE
2682BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002683BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002684WIDTH="100%"
2685CELLPADDING="6"
2686><TR
2687><TD
2688><PRE
2689CLASS="PROGRAMLISTING"
2690><A
2691HREF="gnome-xml-tree.html#CHAR"
2692>CHAR</A
2693>* xmlNamespaceParseNSDef (<A
2694HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2695>xmlParserCtxtPtr</A
2696> ctxt);</PRE
2697></TD
2698></TR
2699></TABLE
2700><P
2701>parse a namespace prefix declaration</P
2702><P
2703>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
2704><P
2705>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
2706><P
2707></P
2708><DIV
2709CLASS="INFORMALTABLE"
2710><P
2711></P
2712><TABLE
2713BORDER="0"
2714WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002715BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002716CELLSPACING="0"
2717CELLPADDING="4"
2718CLASS="CALSTABLE"
2719><TR
2720><TD
2721WIDTH="20%"
2722ALIGN="RIGHT"
2723VALIGN="TOP"
2724><TT
2725CLASS="PARAMETER"
2726><I
2727>ctxt</I
2728></TT
2729>&nbsp;:</TD
2730><TD
2731WIDTH="80%"
2732ALIGN="LEFT"
2733VALIGN="TOP"
2734> an XML parser context</TD
2735></TR
2736><TR
2737><TD
2738WIDTH="20%"
2739ALIGN="RIGHT"
2740VALIGN="TOP"
2741><I
2742CLASS="EMPHASIS"
2743>Returns</I
2744> :</TD
2745><TD
2746WIDTH="80%"
2747ALIGN="LEFT"
2748VALIGN="TOP"
2749>the namespace name</TD
2750></TR
2751></TABLE
2752><P
2753></P
2754></DIV
2755></DIV
2756><HR><DIV
2757CLASS="REFSECT2"
2758><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002759NAME="AEN5157"
Daniel Veillard35925471999-02-25 08:46:07 +00002760></A
2761><H3
2762><A
2763NAME="XMLPARSEQUOTEDSTRING"
2764></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002765>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002766><TABLE
2767BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002768BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002769WIDTH="100%"
2770CELLPADDING="6"
2771><TR
2772><TD
2773><PRE
2774CLASS="PROGRAMLISTING"
2775><A
2776HREF="gnome-xml-tree.html#CHAR"
2777>CHAR</A
2778>* xmlParseQuotedString (<A
2779HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2780>xmlParserCtxtPtr</A
2781> ctxt);</PRE
2782></TD
2783></TR
2784></TABLE
2785><P
2786>[OLD] Parse and return a string between quotes or doublequotes</P
2787><P
2788></P
2789><DIV
2790CLASS="INFORMALTABLE"
2791><P
2792></P
2793><TABLE
2794BORDER="0"
2795WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002796BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002797CELLSPACING="0"
2798CELLPADDING="4"
2799CLASS="CALSTABLE"
2800><TR
2801><TD
2802WIDTH="20%"
2803ALIGN="RIGHT"
2804VALIGN="TOP"
2805><TT
2806CLASS="PARAMETER"
2807><I
2808>ctxt</I
2809></TT
2810>&nbsp;:</TD
2811><TD
2812WIDTH="80%"
2813ALIGN="LEFT"
2814VALIGN="TOP"
2815> an XML parser context</TD
2816></TR
2817><TR
2818><TD
2819WIDTH="20%"
2820ALIGN="RIGHT"
2821VALIGN="TOP"
2822><I
2823CLASS="EMPHASIS"
2824>Returns</I
2825> :</TD
2826><TD
2827WIDTH="80%"
2828ALIGN="LEFT"
2829VALIGN="TOP"
2830>the string parser or NULL.</TD
2831></TR
2832></TABLE
2833><P
2834></P
2835></DIV
2836></DIV
2837><HR><DIV
2838CLASS="REFSECT2"
2839><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002840NAME="AEN5178"
Daniel Veillard35925471999-02-25 08:46:07 +00002841></A
2842><H3
2843><A
2844NAME="XMLPARSENAMESPACE"
2845></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002846>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002847><TABLE
2848BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002849BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002850WIDTH="100%"
2851CELLPADDING="6"
2852><TR
2853><TD
2854><PRE
2855CLASS="PROGRAMLISTING"
2856>void xmlParseNamespace (<A
2857HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2858>xmlParserCtxtPtr</A
2859> ctxt);</PRE
2860></TD
2861></TR
2862></TABLE
2863><P
2864>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
2865><P
2866>This is what the older xml-name Working Draft specified, a bunch of
2867other stuff may still rely on it, so support is still here as
2868if ot was declared on the root of the Tree:-(</P
2869><P
2870></P
2871><DIV
2872CLASS="INFORMALTABLE"
2873><P
2874></P
2875><TABLE
2876BORDER="0"
2877WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002878BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002879CELLSPACING="0"
2880CELLPADDING="4"
2881CLASS="CALSTABLE"
2882><TR
2883><TD
2884WIDTH="20%"
2885ALIGN="RIGHT"
2886VALIGN="TOP"
2887><TT
2888CLASS="PARAMETER"
2889><I
2890>ctxt</I
2891></TT
2892>&nbsp;:</TD
2893><TD
2894WIDTH="80%"
2895ALIGN="LEFT"
2896VALIGN="TOP"
2897> an XML parser context</TD
2898></TR
2899></TABLE
2900><P
2901></P
2902></DIV
2903></DIV
2904><HR><DIV
2905CLASS="REFSECT2"
2906><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002907NAME="AEN5195"
Daniel Veillard35925471999-02-25 08:46:07 +00002908></A
2909><H3
2910><A
2911NAME="XMLPARSENAME"
2912></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002913>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002914><TABLE
2915BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002916BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002917WIDTH="100%"
2918CELLPADDING="6"
2919><TR
2920><TD
2921><PRE
2922CLASS="PROGRAMLISTING"
2923><A
2924HREF="gnome-xml-tree.html#CHAR"
2925>CHAR</A
2926>* xmlParseName (<A
2927HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2928>xmlParserCtxtPtr</A
2929> ctxt);</PRE
2930></TD
2931></TR
2932></TABLE
2933><P
2934>parse an XML name.</P
2935><P
2936>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
2937CombiningChar | Extender</P
2938><P
2939>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
2940><P
2941>[6] Names ::= Name (S Name)*</P
2942><P
2943></P
2944><DIV
2945CLASS="INFORMALTABLE"
2946><P
2947></P
2948><TABLE
2949BORDER="0"
2950WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002951BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002952CELLSPACING="0"
2953CELLPADDING="4"
2954CLASS="CALSTABLE"
2955><TR
2956><TD
2957WIDTH="20%"
2958ALIGN="RIGHT"
2959VALIGN="TOP"
2960><TT
2961CLASS="PARAMETER"
2962><I
2963>ctxt</I
2964></TT
2965>&nbsp;:</TD
2966><TD
2967WIDTH="80%"
2968ALIGN="LEFT"
2969VALIGN="TOP"
2970> an XML parser context</TD
2971></TR
2972><TR
2973><TD
2974WIDTH="20%"
2975ALIGN="RIGHT"
2976VALIGN="TOP"
2977><I
2978CLASS="EMPHASIS"
2979>Returns</I
2980> :</TD
2981><TD
2982WIDTH="80%"
2983ALIGN="LEFT"
2984VALIGN="TOP"
2985>the Name parsed or NULL</TD
2986></TR
2987></TABLE
2988><P
2989></P
2990></DIV
2991></DIV
2992><HR><DIV
2993CLASS="REFSECT2"
2994><A
Daniel Veillard14fff061999-06-22 21:49:07 +00002995NAME="AEN5219"
Daniel Veillard35925471999-02-25 08:46:07 +00002996></A
2997><H3
2998><A
2999NAME="XMLPARSENMTOKEN"
3000></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003001>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003002><TABLE
3003BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003004BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003005WIDTH="100%"
3006CELLPADDING="6"
3007><TR
3008><TD
3009><PRE
3010CLASS="PROGRAMLISTING"
3011><A
3012HREF="gnome-xml-tree.html#CHAR"
3013>CHAR</A
3014>* xmlParseNmtoken (<A
3015HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3016>xmlParserCtxtPtr</A
3017> ctxt);</PRE
3018></TD
3019></TR
3020></TABLE
3021><P
3022>parse an XML Nmtoken.</P
3023><P
3024>[7] Nmtoken ::= (NameChar)+</P
3025><P
3026>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3027><P
3028></P
3029><DIV
3030CLASS="INFORMALTABLE"
3031><P
3032></P
3033><TABLE
3034BORDER="0"
3035WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003036BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003037CELLSPACING="0"
3038CELLPADDING="4"
3039CLASS="CALSTABLE"
3040><TR
3041><TD
3042WIDTH="20%"
3043ALIGN="RIGHT"
3044VALIGN="TOP"
3045><TT
3046CLASS="PARAMETER"
3047><I
3048>ctxt</I
3049></TT
3050>&nbsp;:</TD
3051><TD
3052WIDTH="80%"
3053ALIGN="LEFT"
3054VALIGN="TOP"
3055> an XML parser context</TD
3056></TR
3057><TR
3058><TD
3059WIDTH="20%"
3060ALIGN="RIGHT"
3061VALIGN="TOP"
3062><I
3063CLASS="EMPHASIS"
3064>Returns</I
3065> :</TD
3066><TD
3067WIDTH="80%"
3068ALIGN="LEFT"
3069VALIGN="TOP"
3070>the Nmtoken parsed or NULL</TD
3071></TR
3072></TABLE
3073><P
3074></P
3075></DIV
3076></DIV
3077><HR><DIV
3078CLASS="REFSECT2"
3079><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003080NAME="AEN5242"
Daniel Veillard35925471999-02-25 08:46:07 +00003081></A
3082><H3
3083><A
3084NAME="XMLPARSEENTITYVALUE"
3085></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003086>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003087><TABLE
3088BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003089BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003090WIDTH="100%"
3091CELLPADDING="6"
3092><TR
3093><TD
3094><PRE
3095CLASS="PROGRAMLISTING"
3096><A
3097HREF="gnome-xml-tree.html#CHAR"
3098>CHAR</A
3099>* xmlParseEntityValue (<A
3100HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3101>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003102> ctxt,
3103 <A
3104HREF="gnome-xml-tree.html#CHAR"
3105>CHAR</A
3106> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003107></TD
3108></TR
3109></TABLE
3110><P
3111>parse a value for ENTITY decl.</P
3112><P
3113>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3114"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3115><P
3116></P
3117><DIV
3118CLASS="INFORMALTABLE"
3119><P
3120></P
3121><TABLE
3122BORDER="0"
3123WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003124BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003125CELLSPACING="0"
3126CELLPADDING="4"
3127CLASS="CALSTABLE"
3128><TR
3129><TD
3130WIDTH="20%"
3131ALIGN="RIGHT"
3132VALIGN="TOP"
3133><TT
3134CLASS="PARAMETER"
3135><I
3136>ctxt</I
3137></TT
3138>&nbsp;:</TD
3139><TD
3140WIDTH="80%"
3141ALIGN="LEFT"
3142VALIGN="TOP"
3143> an XML parser context</TD
3144></TR
3145><TR
3146><TD
3147WIDTH="20%"
3148ALIGN="RIGHT"
3149VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003150><TT
3151CLASS="PARAMETER"
3152><I
3153>orig</I
3154></TT
3155>&nbsp;:</TD
3156><TD
3157WIDTH="80%"
3158ALIGN="LEFT"
3159VALIGN="TOP"
3160> if non-NULL store a copy of the original entity value</TD
3161></TR
3162><TR
3163><TD
3164WIDTH="20%"
3165ALIGN="RIGHT"
3166VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003167><I
3168CLASS="EMPHASIS"
3169>Returns</I
3170> :</TD
3171><TD
3172WIDTH="80%"
3173ALIGN="LEFT"
3174VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003175>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003176></TR
3177></TABLE
3178><P
3179></P
3180></DIV
3181></DIV
3182><HR><DIV
3183CLASS="REFSECT2"
3184><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003185NAME="AEN5269"
Daniel Veillard35925471999-02-25 08:46:07 +00003186></A
3187><H3
3188><A
3189NAME="XMLPARSEATTVALUE"
3190></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003191>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003192><TABLE
3193BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003194BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003195WIDTH="100%"
3196CELLPADDING="6"
3197><TR
3198><TD
3199><PRE
3200CLASS="PROGRAMLISTING"
3201><A
3202HREF="gnome-xml-tree.html#CHAR"
3203>CHAR</A
3204>* xmlParseAttValue (<A
3205HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3206>xmlParserCtxtPtr</A
3207> ctxt);</PRE
3208></TD
3209></TR
3210></TABLE
3211><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003212>parse a value for an attribute
3213Note: the parser won't do substitution of entities here, this
3214will be handled later in xmlStringGetNodeList, unless it was
3215asked for ctxt-&gt;replaceEntities != 0 </P
Daniel Veillard35925471999-02-25 08:46:07 +00003216><P
3217>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3218"'" ([^&lt;&amp;'] | Reference)* "'"</P
3219><P
3220></P
3221><DIV
3222CLASS="INFORMALTABLE"
3223><P
3224></P
3225><TABLE
3226BORDER="0"
3227WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003228BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003229CELLSPACING="0"
3230CELLPADDING="4"
3231CLASS="CALSTABLE"
3232><TR
3233><TD
3234WIDTH="20%"
3235ALIGN="RIGHT"
3236VALIGN="TOP"
3237><TT
3238CLASS="PARAMETER"
3239><I
3240>ctxt</I
3241></TT
3242>&nbsp;:</TD
3243><TD
3244WIDTH="80%"
3245ALIGN="LEFT"
3246VALIGN="TOP"
3247> an XML parser context</TD
3248></TR
3249><TR
3250><TD
3251WIDTH="20%"
3252ALIGN="RIGHT"
3253VALIGN="TOP"
3254><I
3255CLASS="EMPHASIS"
3256>Returns</I
3257> :</TD
3258><TD
3259WIDTH="80%"
3260ALIGN="LEFT"
3261VALIGN="TOP"
3262>the AttValue parsed or NULL.</TD
3263></TR
3264></TABLE
3265><P
3266></P
3267></DIV
3268></DIV
3269><HR><DIV
3270CLASS="REFSECT2"
3271><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003272NAME="AEN5291"
Daniel Veillard35925471999-02-25 08:46:07 +00003273></A
3274><H3
3275><A
3276NAME="XMLPARSESYSTEMLITERAL"
3277></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003278>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003279><TABLE
3280BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003281BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003282WIDTH="100%"
3283CELLPADDING="6"
3284><TR
3285><TD
3286><PRE
3287CLASS="PROGRAMLISTING"
3288><A
3289HREF="gnome-xml-tree.html#CHAR"
3290>CHAR</A
3291>* xmlParseSystemLiteral (<A
3292HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3293>xmlParserCtxtPtr</A
3294> ctxt);</PRE
3295></TD
3296></TR
3297></TABLE
3298><P
3299>parse an XML Literal</P
3300><P
3301>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3302><P
3303></P
3304><DIV
3305CLASS="INFORMALTABLE"
3306><P
3307></P
3308><TABLE
3309BORDER="0"
3310WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003311BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003312CELLSPACING="0"
3313CELLPADDING="4"
3314CLASS="CALSTABLE"
3315><TR
3316><TD
3317WIDTH="20%"
3318ALIGN="RIGHT"
3319VALIGN="TOP"
3320><TT
3321CLASS="PARAMETER"
3322><I
3323>ctxt</I
3324></TT
3325>&nbsp;:</TD
3326><TD
3327WIDTH="80%"
3328ALIGN="LEFT"
3329VALIGN="TOP"
3330> an XML parser context</TD
3331></TR
3332><TR
3333><TD
3334WIDTH="20%"
3335ALIGN="RIGHT"
3336VALIGN="TOP"
3337><I
3338CLASS="EMPHASIS"
3339>Returns</I
3340> :</TD
3341><TD
3342WIDTH="80%"
3343ALIGN="LEFT"
3344VALIGN="TOP"
3345>the SystemLiteral parsed or NULL</TD
3346></TR
3347></TABLE
3348><P
3349></P
3350></DIV
3351></DIV
3352><HR><DIV
3353CLASS="REFSECT2"
3354><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003355NAME="AEN5313"
Daniel Veillard35925471999-02-25 08:46:07 +00003356></A
3357><H3
3358><A
3359NAME="XMLPARSEPUBIDLITERAL"
3360></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003361>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003362><TABLE
3363BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003364BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003365WIDTH="100%"
3366CELLPADDING="6"
3367><TR
3368><TD
3369><PRE
3370CLASS="PROGRAMLISTING"
3371><A
3372HREF="gnome-xml-tree.html#CHAR"
3373>CHAR</A
3374>* xmlParsePubidLiteral (<A
3375HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3376>xmlParserCtxtPtr</A
3377> ctxt);</PRE
3378></TD
3379></TR
3380></TABLE
3381><P
3382>parse an XML public literal</P
3383><P
3384>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3385><P
3386></P
3387><DIV
3388CLASS="INFORMALTABLE"
3389><P
3390></P
3391><TABLE
3392BORDER="0"
3393WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003394BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003395CELLSPACING="0"
3396CELLPADDING="4"
3397CLASS="CALSTABLE"
3398><TR
3399><TD
3400WIDTH="20%"
3401ALIGN="RIGHT"
3402VALIGN="TOP"
3403><TT
3404CLASS="PARAMETER"
3405><I
3406>ctxt</I
3407></TT
3408>&nbsp;:</TD
3409><TD
3410WIDTH="80%"
3411ALIGN="LEFT"
3412VALIGN="TOP"
3413> an XML parser context</TD
3414></TR
3415><TR
3416><TD
3417WIDTH="20%"
3418ALIGN="RIGHT"
3419VALIGN="TOP"
3420><I
3421CLASS="EMPHASIS"
3422>Returns</I
3423> :</TD
3424><TD
3425WIDTH="80%"
3426ALIGN="LEFT"
3427VALIGN="TOP"
3428>the PubidLiteral parsed or NULL.</TD
3429></TR
3430></TABLE
3431><P
3432></P
3433></DIV
3434></DIV
3435><HR><DIV
3436CLASS="REFSECT2"
3437><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003438NAME="AEN5335"
Daniel Veillard35925471999-02-25 08:46:07 +00003439></A
3440><H3
3441><A
3442NAME="XMLPARSECHARDATA"
3443></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003444>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003445><TABLE
3446BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003447BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003448WIDTH="100%"
3449CELLPADDING="6"
3450><TR
3451><TD
3452><PRE
3453CLASS="PROGRAMLISTING"
3454>void xmlParseCharData (<A
3455HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3456>xmlParserCtxtPtr</A
3457> ctxt,
3458 int cdata);</PRE
3459></TD
3460></TR
3461></TABLE
3462><P
3463>parse a CharData section.
3464if we are within a CDATA section ']]&gt;' marks an end of section.</P
3465><P
3466>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3467><P
3468></P
3469><DIV
3470CLASS="INFORMALTABLE"
3471><P
3472></P
3473><TABLE
3474BORDER="0"
3475WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003476BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003477CELLSPACING="0"
3478CELLPADDING="4"
3479CLASS="CALSTABLE"
3480><TR
3481><TD
3482WIDTH="20%"
3483ALIGN="RIGHT"
3484VALIGN="TOP"
3485><TT
3486CLASS="PARAMETER"
3487><I
3488>ctxt</I
3489></TT
3490>&nbsp;:</TD
3491><TD
3492WIDTH="80%"
3493ALIGN="LEFT"
3494VALIGN="TOP"
3495> an XML parser context</TD
3496></TR
3497><TR
3498><TD
3499WIDTH="20%"
3500ALIGN="RIGHT"
3501VALIGN="TOP"
3502><TT
3503CLASS="PARAMETER"
3504><I
3505>cdata</I
3506></TT
3507>&nbsp;:</TD
3508><TD
3509WIDTH="80%"
3510ALIGN="LEFT"
3511VALIGN="TOP"
3512> int indicating whether we are within a CDATA section</TD
3513></TR
3514></TABLE
3515><P
3516></P
3517></DIV
3518></DIV
3519><HR><DIV
3520CLASS="REFSECT2"
3521><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003522NAME="AEN5356"
Daniel Veillard35925471999-02-25 08:46:07 +00003523></A
3524><H3
3525><A
3526NAME="XMLPARSEEXTERNALID"
3527></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003528>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003529><TABLE
3530BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003531BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003532WIDTH="100%"
3533CELLPADDING="6"
3534><TR
3535><TD
3536><PRE
3537CLASS="PROGRAMLISTING"
3538><A
3539HREF="gnome-xml-tree.html#CHAR"
3540>CHAR</A
3541>* xmlParseExternalID (<A
3542HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3543>xmlParserCtxtPtr</A
3544> ctxt,
3545 <A
3546HREF="gnome-xml-tree.html#CHAR"
3547>CHAR</A
3548> **publicID,
3549 int strict);</PRE
3550></TD
3551></TR
3552></TABLE
3553><P
3554>Parse an External ID or a Public ID</P
3555><P
3556>NOTE: Productions [75] and [83] interract badly since [75] can generate
3557'PUBLIC' S PubidLiteral S SystemLiteral</P
3558><P
3559>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
3560| 'PUBLIC' S PubidLiteral S SystemLiteral</P
3561><P
3562>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
3563><P
3564></P
3565><DIV
3566CLASS="INFORMALTABLE"
3567><P
3568></P
3569><TABLE
3570BORDER="0"
3571WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003572BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003573CELLSPACING="0"
3574CELLPADDING="4"
3575CLASS="CALSTABLE"
3576><TR
3577><TD
3578WIDTH="20%"
3579ALIGN="RIGHT"
3580VALIGN="TOP"
3581><TT
3582CLASS="PARAMETER"
3583><I
3584>ctxt</I
3585></TT
3586>&nbsp;:</TD
3587><TD
3588WIDTH="80%"
3589ALIGN="LEFT"
3590VALIGN="TOP"
3591> an XML parser context</TD
3592></TR
3593><TR
3594><TD
3595WIDTH="20%"
3596ALIGN="RIGHT"
3597VALIGN="TOP"
3598><TT
3599CLASS="PARAMETER"
3600><I
3601>publicID</I
3602></TT
3603>&nbsp;:</TD
3604><TD
3605WIDTH="80%"
3606ALIGN="LEFT"
3607VALIGN="TOP"
3608> a CHAR** receiving PubidLiteral</TD
3609></TR
3610><TR
3611><TD
3612WIDTH="20%"
3613ALIGN="RIGHT"
3614VALIGN="TOP"
3615><TT
3616CLASS="PARAMETER"
3617><I
3618>strict</I
3619></TT
3620>&nbsp;:</TD
3621><TD
3622WIDTH="80%"
3623ALIGN="LEFT"
3624VALIGN="TOP"
3625> indicate whether we should restrict parsing to only
3626production [75], see NOTE below</TD
3627></TR
3628><TR
3629><TD
3630WIDTH="20%"
3631ALIGN="RIGHT"
3632VALIGN="TOP"
3633><I
3634CLASS="EMPHASIS"
3635>Returns</I
3636> :</TD
3637><TD
3638WIDTH="80%"
3639ALIGN="LEFT"
3640VALIGN="TOP"
3641>the function returns SystemLiteral and in the second
3642case publicID receives PubidLiteral, is strict is off
3643it is possible to return NULL and have publicID set.</TD
3644></TR
3645></TABLE
3646><P
3647></P
3648></DIV
3649></DIV
3650><HR><DIV
3651CLASS="REFSECT2"
3652><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003653NAME="AEN5389"
Daniel Veillard35925471999-02-25 08:46:07 +00003654></A
3655><H3
3656><A
3657NAME="XMLPARSECOMMENT"
3658></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003659>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003660><TABLE
3661BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003662BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003663WIDTH="100%"
3664CELLPADDING="6"
3665><TR
3666><TD
3667><PRE
3668CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003669>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003670HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3671>xmlParserCtxtPtr</A
3672> ctxt,
3673 int create);</PRE
3674></TD
3675></TR
3676></TABLE
3677><P
3678>Skip an XML (SGML) comment &lt;!-- .... --&gt;
3679This may or may not create a node (depending on the context)
3680The spec says that "For compatibility, the string "--" (double-hyphen)
3681must not occur within comments. "</P
3682><P
3683>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
3684><P
Daniel Veillard35925471999-02-25 08:46:07 +00003685></P
3686><DIV
3687CLASS="INFORMALTABLE"
3688><P
3689></P
3690><TABLE
3691BORDER="0"
3692WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003693BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003694CELLSPACING="0"
3695CELLPADDING="4"
3696CLASS="CALSTABLE"
3697><TR
3698><TD
3699WIDTH="20%"
3700ALIGN="RIGHT"
3701VALIGN="TOP"
3702><TT
3703CLASS="PARAMETER"
3704><I
3705>ctxt</I
3706></TT
3707>&nbsp;:</TD
3708><TD
3709WIDTH="80%"
3710ALIGN="LEFT"
3711VALIGN="TOP"
3712> an XML parser context</TD
3713></TR
3714><TR
3715><TD
3716WIDTH="20%"
3717ALIGN="RIGHT"
3718VALIGN="TOP"
3719><TT
3720CLASS="PARAMETER"
3721><I
3722>create</I
3723></TT
3724>&nbsp;:</TD
3725><TD
3726WIDTH="80%"
3727ALIGN="LEFT"
3728VALIGN="TOP"
3729> should we create a node, or just skip the content</TD
3730></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003731></TABLE
3732><P
3733></P
3734></DIV
3735></DIV
3736><HR><DIV
3737CLASS="REFSECT2"
3738><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003739NAME="AEN5410"
Daniel Veillard35925471999-02-25 08:46:07 +00003740></A
3741><H3
3742><A
3743NAME="XMLPARSEPITARGET"
3744></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003745>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003746><TABLE
3747BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003748BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003749WIDTH="100%"
3750CELLPADDING="6"
3751><TR
3752><TD
3753><PRE
3754CLASS="PROGRAMLISTING"
3755><A
3756HREF="gnome-xml-tree.html#CHAR"
3757>CHAR</A
3758>* xmlParsePITarget (<A
3759HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3760>xmlParserCtxtPtr</A
3761> ctxt);</PRE
3762></TD
3763></TR
3764></TABLE
3765><P
3766>parse the name of a PI</P
3767><P
3768>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
3769><P
3770></P
3771><DIV
3772CLASS="INFORMALTABLE"
3773><P
3774></P
3775><TABLE
3776BORDER="0"
3777WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003778BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003779CELLSPACING="0"
3780CELLPADDING="4"
3781CLASS="CALSTABLE"
3782><TR
3783><TD
3784WIDTH="20%"
3785ALIGN="RIGHT"
3786VALIGN="TOP"
3787><TT
3788CLASS="PARAMETER"
3789><I
3790>ctxt</I
3791></TT
3792>&nbsp;:</TD
3793><TD
3794WIDTH="80%"
3795ALIGN="LEFT"
3796VALIGN="TOP"
3797> an XML parser context</TD
3798></TR
3799><TR
3800><TD
3801WIDTH="20%"
3802ALIGN="RIGHT"
3803VALIGN="TOP"
3804><I
3805CLASS="EMPHASIS"
3806>Returns</I
3807> :</TD
3808><TD
3809WIDTH="80%"
3810ALIGN="LEFT"
3811VALIGN="TOP"
3812>the PITarget name or NULL</TD
3813></TR
3814></TABLE
3815><P
3816></P
3817></DIV
3818></DIV
3819><HR><DIV
3820CLASS="REFSECT2"
3821><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003822NAME="AEN5432"
Daniel Veillard35925471999-02-25 08:46:07 +00003823></A
3824><H3
3825><A
3826NAME="XMLPARSEPI"
3827></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003828>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003829><TABLE
3830BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003831BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003832WIDTH="100%"
3833CELLPADDING="6"
3834><TR
3835><TD
3836><PRE
3837CLASS="PROGRAMLISTING"
3838>void xmlParsePI (<A
3839HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3840>xmlParserCtxtPtr</A
3841> ctxt);</PRE
3842></TD
3843></TR
3844></TABLE
3845><P
3846>parse an XML Processing Instruction.</P
3847><P
3848>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
3849><P
3850>The processing is transfered to SAX once parsed.</P
3851><P
3852></P
3853><DIV
3854CLASS="INFORMALTABLE"
3855><P
3856></P
3857><TABLE
3858BORDER="0"
3859WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003860BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003861CELLSPACING="0"
3862CELLPADDING="4"
3863CLASS="CALSTABLE"
3864><TR
3865><TD
3866WIDTH="20%"
3867ALIGN="RIGHT"
3868VALIGN="TOP"
3869><TT
3870CLASS="PARAMETER"
3871><I
3872>ctxt</I
3873></TT
3874>&nbsp;:</TD
3875><TD
3876WIDTH="80%"
3877ALIGN="LEFT"
3878VALIGN="TOP"
3879> an XML parser context</TD
3880></TR
3881></TABLE
3882><P
3883></P
3884></DIV
3885></DIV
3886><HR><DIV
3887CLASS="REFSECT2"
3888><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003889NAME="AEN5450"
Daniel Veillard35925471999-02-25 08:46:07 +00003890></A
3891><H3
3892><A
3893NAME="XMLPARSENOTATIONDECL"
3894></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003895>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003896><TABLE
3897BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003898BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003899WIDTH="100%"
3900CELLPADDING="6"
3901><TR
3902><TD
3903><PRE
3904CLASS="PROGRAMLISTING"
3905>void xmlParseNotationDecl (<A
3906HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3907>xmlParserCtxtPtr</A
3908> ctxt);</PRE
3909></TD
3910></TR
3911></TABLE
3912><P
3913>parse a notation declaration</P
3914><P
3915>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
3916><P
3917>Hence there is actually 3 choices:
3918'PUBLIC' S PubidLiteral
3919'PUBLIC' S PubidLiteral S SystemLiteral
3920and 'SYSTEM' S SystemLiteral</P
3921><P
3922>See the NOTE on <A
3923HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
3924>xmlParseExternalID</A
3925>().</P
3926><P
3927></P
3928><DIV
3929CLASS="INFORMALTABLE"
3930><P
3931></P
3932><TABLE
3933BORDER="0"
3934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003935BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003936CELLSPACING="0"
3937CELLPADDING="4"
3938CLASS="CALSTABLE"
3939><TR
3940><TD
3941WIDTH="20%"
3942ALIGN="RIGHT"
3943VALIGN="TOP"
3944><TT
3945CLASS="PARAMETER"
3946><I
3947>ctxt</I
3948></TT
3949>&nbsp;:</TD
3950><TD
3951WIDTH="80%"
3952ALIGN="LEFT"
3953VALIGN="TOP"
3954> an XML parser context</TD
3955></TR
3956></TABLE
3957><P
3958></P
3959></DIV
3960></DIV
3961><HR><DIV
3962CLASS="REFSECT2"
3963><A
Daniel Veillard14fff061999-06-22 21:49:07 +00003964NAME="AEN5470"
Daniel Veillard35925471999-02-25 08:46:07 +00003965></A
3966><H3
3967><A
3968NAME="XMLPARSEENTITYDECL"
3969></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003970>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003971><TABLE
3972BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003973BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003974WIDTH="100%"
3975CELLPADDING="6"
3976><TR
3977><TD
3978><PRE
3979CLASS="PROGRAMLISTING"
3980>void xmlParseEntityDecl (<A
3981HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3982>xmlParserCtxtPtr</A
3983> ctxt);</PRE
3984></TD
3985></TR
3986></TABLE
3987><P
3988>parse &lt;!ENTITY declarations</P
3989><P
3990>[70] EntityDecl ::= GEDecl | PEDecl</P
3991><P
3992>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
3993><P
3994>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
3995><P
3996>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
3997><P
3998>[74] PEDef ::= EntityValue | ExternalID</P
3999><P
4000>[76] NDataDecl ::= S 'NDATA' S Name</P
4001><P
4002></P
4003><DIV
4004CLASS="INFORMALTABLE"
4005><P
4006></P
4007><TABLE
4008BORDER="0"
4009WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004010BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004011CELLSPACING="0"
4012CELLPADDING="4"
4013CLASS="CALSTABLE"
4014><TR
4015><TD
4016WIDTH="20%"
4017ALIGN="RIGHT"
4018VALIGN="TOP"
4019><TT
4020CLASS="PARAMETER"
4021><I
4022>ctxt</I
4023></TT
4024>&nbsp;:</TD
4025><TD
4026WIDTH="80%"
4027ALIGN="LEFT"
4028VALIGN="TOP"
4029> an XML parser context</TD
4030></TR
4031></TABLE
4032><P
4033></P
4034></DIV
4035></DIV
4036><HR><DIV
4037CLASS="REFSECT2"
4038><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004039NAME="AEN5492"
Daniel Veillard35925471999-02-25 08:46:07 +00004040></A
4041><H3
4042><A
4043NAME="XMLPARSEDEFAULTDECL"
4044></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004045>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004046><TABLE
4047BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004048BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004049WIDTH="100%"
4050CELLPADDING="6"
4051><TR
4052><TD
4053><PRE
4054CLASS="PROGRAMLISTING"
4055>int xmlParseDefaultDecl (<A
4056HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4057>xmlParserCtxtPtr</A
4058> ctxt,
4059 <A
4060HREF="gnome-xml-tree.html#CHAR"
4061>CHAR</A
4062> **value);</PRE
4063></TD
4064></TR
4065></TABLE
4066><P
4067>Parse an attribute default declaration</P
4068><P
4069>[60] DefaultDecl ::= '<GTKDOCLINK
4070HREF="REQUIRED"
4071>REQUIRED</GTKDOCLINK
4072>' | '<GTKDOCLINK
4073HREF="IMPLIED"
4074>IMPLIED</GTKDOCLINK
4075>' | (('<GTKDOCLINK
4076HREF="FIXED"
4077>FIXED</GTKDOCLINK
4078>' S)? AttValue)</P
4079><P
4080></P
4081><DIV
4082CLASS="INFORMALTABLE"
4083><P
4084></P
4085><TABLE
4086BORDER="0"
4087WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004088BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004089CELLSPACING="0"
4090CELLPADDING="4"
4091CLASS="CALSTABLE"
4092><TR
4093><TD
4094WIDTH="20%"
4095ALIGN="RIGHT"
4096VALIGN="TOP"
4097><TT
4098CLASS="PARAMETER"
4099><I
4100>ctxt</I
4101></TT
4102>&nbsp;:</TD
4103><TD
4104WIDTH="80%"
4105ALIGN="LEFT"
4106VALIGN="TOP"
4107> an XML parser context</TD
4108></TR
4109><TR
4110><TD
4111WIDTH="20%"
4112ALIGN="RIGHT"
4113VALIGN="TOP"
4114><TT
4115CLASS="PARAMETER"
4116><I
4117>value</I
4118></TT
4119>&nbsp;:</TD
4120><TD
4121WIDTH="80%"
4122ALIGN="LEFT"
4123VALIGN="TOP"
4124> Receive a possible fixed default value for the attribute</TD
4125></TR
4126><TR
4127><TD
4128WIDTH="20%"
4129ALIGN="RIGHT"
4130VALIGN="TOP"
4131><I
4132CLASS="EMPHASIS"
4133>Returns</I
4134> :</TD
4135><TD
4136WIDTH="80%"
4137ALIGN="LEFT"
4138VALIGN="TOP"
4139> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4140or XML_ATTRIBUTE_FIXED. </TD
4141></TR
4142></TABLE
4143><P
4144></P
4145></DIV
4146></DIV
4147><HR><DIV
4148CLASS="REFSECT2"
4149><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004150NAME="AEN5521"
Daniel Veillard35925471999-02-25 08:46:07 +00004151></A
4152><H3
4153><A
4154NAME="XMLPARSENOTATIONTYPE"
4155></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004156>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004157><TABLE
4158BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004159BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004160WIDTH="100%"
4161CELLPADDING="6"
4162><TR
4163><TD
4164><PRE
4165CLASS="PROGRAMLISTING"
4166><A
4167HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4168>xmlEnumerationPtr</A
4169> xmlParseNotationType (<A
4170HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4171>xmlParserCtxtPtr</A
4172> ctxt);</PRE
4173></TD
4174></TR
4175></TABLE
4176><P
4177>parse an Notation attribute type.</P
4178><P
4179>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4180><P
4181>Note: the leading 'NOTATION' S part has already being parsed...</P
4182><P
4183></P
4184><DIV
4185CLASS="INFORMALTABLE"
4186><P
4187></P
4188><TABLE
4189BORDER="0"
4190WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004191BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004192CELLSPACING="0"
4193CELLPADDING="4"
4194CLASS="CALSTABLE"
4195><TR
4196><TD
4197WIDTH="20%"
4198ALIGN="RIGHT"
4199VALIGN="TOP"
4200><TT
4201CLASS="PARAMETER"
4202><I
4203>ctxt</I
4204></TT
4205>&nbsp;:</TD
4206><TD
4207WIDTH="80%"
4208ALIGN="LEFT"
4209VALIGN="TOP"
4210> an XML parser context</TD
4211></TR
4212><TR
4213><TD
4214WIDTH="20%"
4215ALIGN="RIGHT"
4216VALIGN="TOP"
4217><I
4218CLASS="EMPHASIS"
4219>Returns</I
4220> :</TD
4221><TD
4222WIDTH="80%"
4223ALIGN="LEFT"
4224VALIGN="TOP"
4225> the notation attribute tree built while parsing</TD
4226></TR
4227></TABLE
4228><P
4229></P
4230></DIV
4231></DIV
4232><HR><DIV
4233CLASS="REFSECT2"
4234><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004235NAME="AEN5544"
Daniel Veillard35925471999-02-25 08:46:07 +00004236></A
4237><H3
4238><A
4239NAME="XMLPARSEENUMERATIONTYPE"
4240></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004241>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004242><TABLE
4243BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004244BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004245WIDTH="100%"
4246CELLPADDING="6"
4247><TR
4248><TD
4249><PRE
4250CLASS="PROGRAMLISTING"
4251><A
4252HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4253>xmlEnumerationPtr</A
4254> xmlParseEnumerationType (<A
4255HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4256>xmlParserCtxtPtr</A
4257> ctxt);</PRE
4258></TD
4259></TR
4260></TABLE
4261><P
4262>parse an Enumeration attribute type.</P
4263><P
4264>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4265><P
4266></P
4267><DIV
4268CLASS="INFORMALTABLE"
4269><P
4270></P
4271><TABLE
4272BORDER="0"
4273WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004274BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004275CELLSPACING="0"
4276CELLPADDING="4"
4277CLASS="CALSTABLE"
4278><TR
4279><TD
4280WIDTH="20%"
4281ALIGN="RIGHT"
4282VALIGN="TOP"
4283><TT
4284CLASS="PARAMETER"
4285><I
4286>ctxt</I
4287></TT
4288>&nbsp;:</TD
4289><TD
4290WIDTH="80%"
4291ALIGN="LEFT"
4292VALIGN="TOP"
4293> an XML parser context</TD
4294></TR
4295><TR
4296><TD
4297WIDTH="20%"
4298ALIGN="RIGHT"
4299VALIGN="TOP"
4300><I
4301CLASS="EMPHASIS"
4302>Returns</I
4303> :</TD
4304><TD
4305WIDTH="80%"
4306ALIGN="LEFT"
4307VALIGN="TOP"
4308> the enumeration attribute tree built while parsing</TD
4309></TR
4310></TABLE
4311><P
4312></P
4313></DIV
4314></DIV
4315><HR><DIV
4316CLASS="REFSECT2"
4317><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004318NAME="AEN5566"
Daniel Veillard35925471999-02-25 08:46:07 +00004319></A
4320><H3
4321><A
4322NAME="XMLPARSEENUMERATEDTYPE"
4323></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004324>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004325><TABLE
4326BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004327BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004328WIDTH="100%"
4329CELLPADDING="6"
4330><TR
4331><TD
4332><PRE
4333CLASS="PROGRAMLISTING"
4334>int xmlParseEnumeratedType (<A
4335HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4336>xmlParserCtxtPtr</A
4337> ctxt,
4338 <A
4339HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4340>xmlEnumerationPtr</A
4341> *tree);</PRE
4342></TD
4343></TR
4344></TABLE
4345><P
4346>parse an Enumerated attribute type.</P
4347><P
4348>[57] EnumeratedType ::= NotationType | Enumeration</P
4349><P
4350>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4351><P
4352></P
4353><DIV
4354CLASS="INFORMALTABLE"
4355><P
4356></P
4357><TABLE
4358BORDER="0"
4359WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004360BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004361CELLSPACING="0"
4362CELLPADDING="4"
4363CLASS="CALSTABLE"
4364><TR
4365><TD
4366WIDTH="20%"
4367ALIGN="RIGHT"
4368VALIGN="TOP"
4369><TT
4370CLASS="PARAMETER"
4371><I
4372>ctxt</I
4373></TT
4374>&nbsp;:</TD
4375><TD
4376WIDTH="80%"
4377ALIGN="LEFT"
4378VALIGN="TOP"
4379> an XML parser context</TD
4380></TR
4381><TR
4382><TD
4383WIDTH="20%"
4384ALIGN="RIGHT"
4385VALIGN="TOP"
4386><TT
4387CLASS="PARAMETER"
4388><I
4389>tree</I
4390></TT
4391>&nbsp;:</TD
4392><TD
4393WIDTH="80%"
4394ALIGN="LEFT"
4395VALIGN="TOP"
4396> the enumeration tree built while parsing</TD
4397></TR
4398><TR
4399><TD
4400WIDTH="20%"
4401ALIGN="RIGHT"
4402VALIGN="TOP"
4403><I
4404CLASS="EMPHASIS"
4405>Returns</I
4406> :</TD
4407><TD
4408WIDTH="80%"
4409ALIGN="LEFT"
4410VALIGN="TOP"
4411> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
4412></TR
4413></TABLE
4414><P
4415></P
4416></DIV
4417></DIV
4418><HR><DIV
4419CLASS="REFSECT2"
4420><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004421NAME="AEN5593"
Daniel Veillard35925471999-02-25 08:46:07 +00004422></A
4423><H3
4424><A
4425NAME="XMLPARSEATTRIBUTETYPE"
4426></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004427>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004428><TABLE
4429BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004430BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004431WIDTH="100%"
4432CELLPADDING="6"
4433><TR
4434><TD
4435><PRE
4436CLASS="PROGRAMLISTING"
4437>int xmlParseAttributeType (<A
4438HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4439>xmlParserCtxtPtr</A
4440> ctxt,
4441 <A
4442HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4443>xmlEnumerationPtr</A
4444> *tree);</PRE
4445></TD
4446></TR
4447></TABLE
4448><P
4449>parse the Attribute list def for an element</P
4450><P
4451>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4452><P
4453>[55] StringType ::= 'CDATA'</P
4454><P
4455>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4456'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4457><P
4458></P
4459><DIV
4460CLASS="INFORMALTABLE"
4461><P
4462></P
4463><TABLE
4464BORDER="0"
4465WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004466BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004467CELLSPACING="0"
4468CELLPADDING="4"
4469CLASS="CALSTABLE"
4470><TR
4471><TD
4472WIDTH="20%"
4473ALIGN="RIGHT"
4474VALIGN="TOP"
4475><TT
4476CLASS="PARAMETER"
4477><I
4478>ctxt</I
4479></TT
4480>&nbsp;:</TD
4481><TD
4482WIDTH="80%"
4483ALIGN="LEFT"
4484VALIGN="TOP"
4485> an XML parser context</TD
4486></TR
4487><TR
4488><TD
4489WIDTH="20%"
4490ALIGN="RIGHT"
4491VALIGN="TOP"
4492><TT
4493CLASS="PARAMETER"
4494><I
4495>tree</I
4496></TT
4497>&nbsp;:</TD
4498><TD
4499WIDTH="80%"
4500ALIGN="LEFT"
4501VALIGN="TOP"
4502> the enumeration tree built while parsing</TD
4503></TR
4504><TR
4505><TD
4506WIDTH="20%"
4507ALIGN="RIGHT"
4508VALIGN="TOP"
4509><I
4510CLASS="EMPHASIS"
4511>Returns</I
4512> :</TD
4513><TD
4514WIDTH="80%"
4515ALIGN="LEFT"
4516VALIGN="TOP"
4517>the attribute type</TD
4518></TR
4519></TABLE
4520><P
4521></P
4522></DIV
4523></DIV
4524><HR><DIV
4525CLASS="REFSECT2"
4526><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004527NAME="AEN5621"
Daniel Veillard35925471999-02-25 08:46:07 +00004528></A
4529><H3
4530><A
4531NAME="XMLPARSEATTRIBUTELISTDECL"
4532></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004533>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004534><TABLE
4535BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004536BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004537WIDTH="100%"
4538CELLPADDING="6"
4539><TR
4540><TD
4541><PRE
4542CLASS="PROGRAMLISTING"
4543>void xmlParseAttributeListDecl (<A
4544HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4545>xmlParserCtxtPtr</A
4546> ctxt);</PRE
4547></TD
4548></TR
4549></TABLE
4550><P
4551>: parse the Attribute list def for an element</P
4552><P
4553>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
4554><P
4555>[53] AttDef ::= S Name S AttType S DefaultDecl</P
4556><P
4557></P
4558><DIV
4559CLASS="INFORMALTABLE"
4560><P
4561></P
4562><TABLE
4563BORDER="0"
4564WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004565BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004566CELLSPACING="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></TABLE
4587><P
4588></P
4589></DIV
4590></DIV
4591><HR><DIV
4592CLASS="REFSECT2"
4593><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004594NAME="AEN5639"
Daniel Veillard35925471999-02-25 08:46:07 +00004595></A
4596><H3
4597><A
4598NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
4599></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004600>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004601><TABLE
4602BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004603BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004604WIDTH="100%"
4605CELLPADDING="6"
4606><TR
4607><TD
4608><PRE
4609CLASS="PROGRAMLISTING"
4610><A
4611HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4612>xmlElementContentPtr</A
4613> xmlParseElementMixedContentDecl
4614 (<A
4615HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4616>xmlParserCtxtPtr</A
4617> ctxt);</PRE
4618></TD
4619></TR
4620></TABLE
4621><P
4622>parse the declaration for a Mixed Element content
4623The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4624><P
4625>[51] Mixed ::= '(' S? '<GTKDOCLINK
4626HREF="PCDATA"
4627>PCDATA</GTKDOCLINK
4628>' (S? '|' S? Name)* S? ')*' |
4629'(' S? '<GTKDOCLINK
4630HREF="PCDATA"
4631>PCDATA</GTKDOCLINK
4632>' S? ')'</P
4633><P
4634></P
4635><DIV
4636CLASS="INFORMALTABLE"
4637><P
4638></P
4639><TABLE
4640BORDER="0"
4641WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004642BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004643CELLSPACING="0"
4644CELLPADDING="4"
4645CLASS="CALSTABLE"
4646><TR
4647><TD
4648WIDTH="20%"
4649ALIGN="RIGHT"
4650VALIGN="TOP"
4651><TT
4652CLASS="PARAMETER"
4653><I
4654>ctxt</I
4655></TT
4656>&nbsp;:</TD
4657><TD
4658WIDTH="80%"
4659ALIGN="LEFT"
4660VALIGN="TOP"
4661> an XML parser context</TD
4662></TR
4663><TR
4664><TD
4665WIDTH="20%"
4666ALIGN="RIGHT"
4667VALIGN="TOP"
4668><I
4669CLASS="EMPHASIS"
4670>Returns</I
4671> :</TD
4672><TD
4673WIDTH="80%"
4674ALIGN="LEFT"
4675VALIGN="TOP"
4676> the list of the xmlElementContentPtr describing the element choices</TD
4677></TR
4678></TABLE
4679><P
4680></P
4681></DIV
4682></DIV
4683><HR><DIV
4684CLASS="REFSECT2"
4685><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004686NAME="AEN5663"
Daniel Veillard35925471999-02-25 08:46:07 +00004687></A
4688><H3
4689><A
4690NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
4691></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004692>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004693><TABLE
4694BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004695BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004696WIDTH="100%"
4697CELLPADDING="6"
4698><TR
4699><TD
4700><PRE
4701CLASS="PROGRAMLISTING"
4702><A
4703HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4704>xmlElementContentPtr</A
4705> xmlParseElementChildrenContentDecl
4706 (<A
4707HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4708>xmlParserCtxtPtr</A
4709> ctxt);</PRE
4710></TD
4711></TR
4712></TABLE
4713><P
4714>parse the declaration for a Mixed Element content
4715The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4716><P
4717>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
4718><P
4719>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
4720><P
4721>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
4722><P
4723>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
4724><P
4725></P
4726><DIV
4727CLASS="INFORMALTABLE"
4728><P
4729></P
4730><TABLE
4731BORDER="0"
4732WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004733BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004734CELLSPACING="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 tree of xmlElementContentPtr describing the element
4768hierarchy.</TD
4769></TR
4770></TABLE
4771><P
4772></P
4773></DIV
4774></DIV
4775><HR><DIV
4776CLASS="REFSECT2"
4777><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004778NAME="AEN5688"
Daniel Veillard35925471999-02-25 08:46:07 +00004779></A
4780><H3
4781><A
4782NAME="XMLPARSEELEMENTCONTENTDECL"
4783></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004784>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004785><TABLE
4786BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004787BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004788WIDTH="100%"
4789CELLPADDING="6"
4790><TR
4791><TD
4792><PRE
4793CLASS="PROGRAMLISTING"
4794>int xmlParseElementContentDecl (<A
4795HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4796>xmlParserCtxtPtr</A
4797> ctxt,
4798 <A
4799HREF="gnome-xml-tree.html#CHAR"
4800>CHAR</A
4801> *name,
4802 <A
4803HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4804>xmlElementContentPtr</A
4805> *result);</PRE
4806></TD
4807></TR
4808></TABLE
4809><P
4810>parse the declaration for an Element content either Mixed or Children,
4811the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
4812><P
4813>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
4814><P
4815></P
4816><DIV
4817CLASS="INFORMALTABLE"
4818><P
4819></P
4820><TABLE
4821BORDER="0"
4822WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004823BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004824CELLSPACING="0"
4825CELLPADDING="4"
4826CLASS="CALSTABLE"
4827><TR
4828><TD
4829WIDTH="20%"
4830ALIGN="RIGHT"
4831VALIGN="TOP"
4832><TT
4833CLASS="PARAMETER"
4834><I
4835>ctxt</I
4836></TT
4837>&nbsp;:</TD
4838><TD
4839WIDTH="80%"
4840ALIGN="LEFT"
4841VALIGN="TOP"
4842> an XML parser context</TD
4843></TR
4844><TR
4845><TD
4846WIDTH="20%"
4847ALIGN="RIGHT"
4848VALIGN="TOP"
4849><TT
4850CLASS="PARAMETER"
4851><I
4852>name</I
4853></TT
4854>&nbsp;:</TD
4855><TD
4856WIDTH="80%"
4857ALIGN="LEFT"
4858VALIGN="TOP"
4859> the name of the element being defined.</TD
4860></TR
4861><TR
4862><TD
4863WIDTH="20%"
4864ALIGN="RIGHT"
4865VALIGN="TOP"
4866><TT
4867CLASS="PARAMETER"
4868><I
4869>result</I
4870></TT
4871>&nbsp;:</TD
4872><TD
4873WIDTH="80%"
4874ALIGN="LEFT"
4875VALIGN="TOP"
4876> the Element Content pointer will be stored here if any</TD
4877></TR
4878><TR
4879><TD
4880WIDTH="20%"
4881ALIGN="RIGHT"
4882VALIGN="TOP"
4883><I
4884CLASS="EMPHASIS"
4885>Returns</I
4886> :</TD
4887><TD
4888WIDTH="80%"
4889ALIGN="LEFT"
4890VALIGN="TOP"
4891> the type of element content XML_ELEMENT_TYPE_xxx</TD
4892></TR
4893></TABLE
4894><P
4895></P
4896></DIV
4897></DIV
4898><HR><DIV
4899CLASS="REFSECT2"
4900><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004901NAME="AEN5719"
Daniel Veillard35925471999-02-25 08:46:07 +00004902></A
4903><H3
4904><A
4905NAME="XMLPARSEELEMENTDECL"
4906></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004907>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004908><TABLE
4909BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004910BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004911WIDTH="100%"
4912CELLPADDING="6"
4913><TR
4914><TD
4915><PRE
4916CLASS="PROGRAMLISTING"
4917>int xmlParseElementDecl (<A
4918HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4919>xmlParserCtxtPtr</A
4920> ctxt);</PRE
4921></TD
4922></TR
4923></TABLE
4924><P
4925>parse an Element declaration.</P
4926><P
4927>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
4928><P
4929>TODO There is a check [ VC: Unique Element Type Declaration ]</P
4930><P
4931></P
4932><DIV
4933CLASS="INFORMALTABLE"
4934><P
4935></P
4936><TABLE
4937BORDER="0"
4938WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004939BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004940CELLSPACING="0"
4941CELLPADDING="4"
4942CLASS="CALSTABLE"
4943><TR
4944><TD
4945WIDTH="20%"
4946ALIGN="RIGHT"
4947VALIGN="TOP"
4948><TT
4949CLASS="PARAMETER"
4950><I
4951>ctxt</I
4952></TT
4953>&nbsp;:</TD
4954><TD
4955WIDTH="80%"
4956ALIGN="LEFT"
4957VALIGN="TOP"
4958> an XML parser context</TD
4959></TR
4960><TR
4961><TD
4962WIDTH="20%"
4963ALIGN="RIGHT"
4964VALIGN="TOP"
4965><I
4966CLASS="EMPHASIS"
4967>Returns</I
4968> :</TD
4969><TD
4970WIDTH="80%"
4971ALIGN="LEFT"
4972VALIGN="TOP"
4973>the type of the element, or -1 in case of error</TD
4974></TR
4975></TABLE
4976><P
4977></P
4978></DIV
4979></DIV
4980><HR><DIV
4981CLASS="REFSECT2"
4982><A
Daniel Veillard14fff061999-06-22 21:49:07 +00004983NAME="AEN5741"
Daniel Veillard35925471999-02-25 08:46:07 +00004984></A
4985><H3
4986><A
4987NAME="XMLPARSEMARKUPDECL"
4988></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004989>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004990><TABLE
4991BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004992BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004993WIDTH="100%"
4994CELLPADDING="6"
4995><TR
4996><TD
4997><PRE
4998CLASS="PROGRAMLISTING"
4999>void xmlParseMarkupDecl (<A
5000HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5001>xmlParserCtxtPtr</A
5002> ctxt);</PRE
5003></TD
5004></TR
5005></TABLE
5006><P
5007>parse Markup declarations</P
5008><P
5009>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5010NotationDecl | PI | Comment</P
5011><P
5012>TODO There is a check [ VC: Proper Declaration/PE Nesting ]</P
5013><P
5014></P
5015><DIV
5016CLASS="INFORMALTABLE"
5017><P
5018></P
5019><TABLE
5020BORDER="0"
5021WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005022BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005023CELLSPACING="0"
5024CELLPADDING="4"
5025CLASS="CALSTABLE"
5026><TR
5027><TD
5028WIDTH="20%"
5029ALIGN="RIGHT"
5030VALIGN="TOP"
5031><TT
5032CLASS="PARAMETER"
5033><I
5034>ctxt</I
5035></TT
5036>&nbsp;:</TD
5037><TD
5038WIDTH="80%"
5039ALIGN="LEFT"
5040VALIGN="TOP"
5041> an XML parser context</TD
5042></TR
5043></TABLE
5044><P
5045></P
5046></DIV
5047></DIV
5048><HR><DIV
5049CLASS="REFSECT2"
5050><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005051NAME="AEN5759"
Daniel Veillard35925471999-02-25 08:46:07 +00005052></A
5053><H3
5054><A
5055NAME="XMLPARSECHARREF"
5056></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005057>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005058><TABLE
5059BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005060BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005061WIDTH="100%"
5062CELLPADDING="6"
5063><TR
5064><TD
5065><PRE
5066CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005067>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005068HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5069>xmlParserCtxtPtr</A
5070> ctxt);</PRE
5071></TD
5072></TR
5073></TABLE
5074><P
5075>parse Reference declarations</P
5076><P
5077>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5078'&amp;<GTKDOCLINK
5079HREF="X"
5080>x</GTKDOCLINK
5081>' [0-9a-fA-F]+ ';'</P
5082><P
5083></P
5084><DIV
5085CLASS="INFORMALTABLE"
5086><P
5087></P
5088><TABLE
5089BORDER="0"
5090WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005091BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005092CELLSPACING="0"
5093CELLPADDING="4"
5094CLASS="CALSTABLE"
5095><TR
5096><TD
5097WIDTH="20%"
5098ALIGN="RIGHT"
5099VALIGN="TOP"
5100><TT
5101CLASS="PARAMETER"
5102><I
5103>ctxt</I
5104></TT
5105>&nbsp;:</TD
5106><TD
5107WIDTH="80%"
5108ALIGN="LEFT"
5109VALIGN="TOP"
5110> an XML parser context</TD
5111></TR
5112><TR
5113><TD
5114WIDTH="20%"
5115ALIGN="RIGHT"
5116VALIGN="TOP"
5117><I
5118CLASS="EMPHASIS"
5119>Returns</I
5120> :</TD
5121><TD
5122WIDTH="80%"
5123ALIGN="LEFT"
5124VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005125>the value parsed (as an int)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005126></TR
5127></TABLE
5128><P
5129></P
5130></DIV
5131></DIV
5132><HR><DIV
5133CLASS="REFSECT2"
5134><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005135NAME="AEN5781"
Daniel Veillard35925471999-02-25 08:46:07 +00005136></A
5137><H3
5138><A
5139NAME="XMLPARSEENTITYREF"
5140></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005141>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005142><TABLE
5143BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005144BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005145WIDTH="100%"
5146CELLPADDING="6"
5147><TR
5148><TD
5149><PRE
5150CLASS="PROGRAMLISTING"
5151><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005152HREF="gnome-xml-entities.html#XMLENTITYPTR"
5153>xmlEntityPtr</A
5154> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005155HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5156>xmlParserCtxtPtr</A
5157> ctxt);</PRE
5158></TD
5159></TR
5160></TABLE
5161><P
5162>parse ENTITY references declarations</P
5163><P
5164>[68] EntityRef ::= '&amp;' Name ';'</P
5165><P
5166></P
5167><DIV
5168CLASS="INFORMALTABLE"
5169><P
5170></P
5171><TABLE
5172BORDER="0"
5173WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005174BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005175CELLSPACING="0"
5176CELLPADDING="4"
5177CLASS="CALSTABLE"
5178><TR
5179><TD
5180WIDTH="20%"
5181ALIGN="RIGHT"
5182VALIGN="TOP"
5183><TT
5184CLASS="PARAMETER"
5185><I
5186>ctxt</I
5187></TT
5188>&nbsp;:</TD
5189><TD
5190WIDTH="80%"
5191ALIGN="LEFT"
5192VALIGN="TOP"
5193> an XML parser context</TD
5194></TR
5195><TR
5196><TD
5197WIDTH="20%"
5198ALIGN="RIGHT"
5199VALIGN="TOP"
5200><I
5201CLASS="EMPHASIS"
5202>Returns</I
5203> :</TD
5204><TD
5205WIDTH="80%"
5206ALIGN="LEFT"
5207VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005208>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005209></TR
5210></TABLE
5211><P
5212></P
5213></DIV
5214></DIV
5215><HR><DIV
5216CLASS="REFSECT2"
5217><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005218NAME="AEN5803"
Daniel Veillard35925471999-02-25 08:46:07 +00005219></A
5220><H3
5221><A
5222NAME="XMLPARSEREFERENCE"
5223></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005224>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005225><TABLE
5226BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005227BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005228WIDTH="100%"
5229CELLPADDING="6"
5230><TR
5231><TD
5232><PRE
5233CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005234>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005235HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5236>xmlParserCtxtPtr</A
5237> ctxt);</PRE
5238></TD
5239></TR
5240></TABLE
5241><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005242>parse and handle entity references in content, depending on the SAX
5243interface, this may end-up in a call to <GTKDOCLINK
5244HREF="CHARACTER"
5245>character</GTKDOCLINK
5246>() if this is a
5247CharRef, a predefined entity, if there is no <GTKDOCLINK
5248HREF="REFERENCE"
5249>reference</GTKDOCLINK
5250>() callback.
5251or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005252><P
5253>[67] Reference ::= EntityRef | CharRef</P
5254><P
5255></P
5256><DIV
5257CLASS="INFORMALTABLE"
5258><P
5259></P
5260><TABLE
5261BORDER="0"
5262WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005263BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005264CELLSPACING="0"
5265CELLPADDING="4"
5266CLASS="CALSTABLE"
5267><TR
5268><TD
5269WIDTH="20%"
5270ALIGN="RIGHT"
5271VALIGN="TOP"
5272><TT
5273CLASS="PARAMETER"
5274><I
5275>ctxt</I
5276></TT
5277>&nbsp;:</TD
5278><TD
5279WIDTH="80%"
5280ALIGN="LEFT"
5281VALIGN="TOP"
5282> an XML parser context</TD
5283></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005284></TABLE
5285><P
5286></P
5287></DIV
5288></DIV
5289><HR><DIV
5290CLASS="REFSECT2"
5291><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005292NAME="AEN5822"
Daniel Veillard35925471999-02-25 08:46:07 +00005293></A
5294><H3
5295><A
5296NAME="XMLPARSEPEREFERENCE"
5297></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005298>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005299><TABLE
5300BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005301BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005302WIDTH="100%"
5303CELLPADDING="6"
5304><TR
5305><TD
5306><PRE
5307CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005308>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005309HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5310>xmlParserCtxtPtr</A
5311> ctxt);</PRE
5312></TD
5313></TR
5314></TABLE
5315><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005316>parse PEReference declarations
5317The entity content is handled directly by pushing it's content as
5318a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005319><P
5320>[69] PEReference ::= '%' Name ';'</P
5321><P
5322></P
5323><DIV
5324CLASS="INFORMALTABLE"
5325><P
5326></P
5327><TABLE
5328BORDER="0"
5329WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005330BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005331CELLSPACING="0"
5332CELLPADDING="4"
5333CLASS="CALSTABLE"
5334><TR
5335><TD
5336WIDTH="20%"
5337ALIGN="RIGHT"
5338VALIGN="TOP"
5339><TT
5340CLASS="PARAMETER"
5341><I
5342>ctxt</I
5343></TT
5344>&nbsp;:</TD
5345><TD
5346WIDTH="80%"
5347ALIGN="LEFT"
5348VALIGN="TOP"
5349> an XML parser context</TD
5350></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005351></TABLE
5352><P
5353></P
5354></DIV
5355></DIV
5356><HR><DIV
5357CLASS="REFSECT2"
5358><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005359NAME="AEN5839"
Daniel Veillard35925471999-02-25 08:46:07 +00005360></A
5361><H3
5362><A
5363NAME="XMLPARSEDOCTYPEDECL"
5364></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005365>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005366><TABLE
5367BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005368BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005369WIDTH="100%"
5370CELLPADDING="6"
5371><TR
5372><TD
5373><PRE
5374CLASS="PROGRAMLISTING"
5375>void xmlParseDocTypeDecl (<A
5376HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5377>xmlParserCtxtPtr</A
5378> ctxt);</PRE
5379></TD
5380></TR
5381></TABLE
5382><P
5383>parse a DOCTYPE declaration</P
5384><P
5385>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
5386('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
5387><P
5388></P
5389><DIV
5390CLASS="INFORMALTABLE"
5391><P
5392></P
5393><TABLE
5394BORDER="0"
5395WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005396BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005397CELLSPACING="0"
5398CELLPADDING="4"
5399CLASS="CALSTABLE"
5400><TR
5401><TD
5402WIDTH="20%"
5403ALIGN="RIGHT"
5404VALIGN="TOP"
5405><TT
5406CLASS="PARAMETER"
5407><I
5408>ctxt</I
5409></TT
5410>&nbsp;:</TD
5411><TD
5412WIDTH="80%"
5413ALIGN="LEFT"
5414VALIGN="TOP"
5415> an XML parser context</TD
5416></TR
5417></TABLE
5418><P
5419></P
5420></DIV
5421></DIV
5422><HR><DIV
5423CLASS="REFSECT2"
5424><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005425NAME="AEN5856"
Daniel Veillard35925471999-02-25 08:46:07 +00005426></A
5427><H3
5428><A
5429NAME="XMLPARSEATTRIBUTE"
5430></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005431>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005432><TABLE
5433BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005434BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005435WIDTH="100%"
5436CELLPADDING="6"
5437><TR
5438><TD
5439><PRE
5440CLASS="PROGRAMLISTING"
5441><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005442HREF="gnome-xml-tree.html#CHAR"
5443>CHAR</A
5444>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005445HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5446>xmlParserCtxtPtr</A
5447> ctxt,
5448 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005449HREF="gnome-xml-tree.html#CHAR"
5450>CHAR</A
5451> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005452></TD
5453></TR
5454></TABLE
5455><P
5456>parse an attribute</P
5457><P
5458>[41] Attribute ::= Name Eq AttValue</P
5459><P
5460>[25] Eq ::= S? '=' S?</P
5461><P
5462>With namespace:</P
5463><P
5464>[NS 11] Attribute ::= QName Eq AttValue</P
5465><P
5466>Also the case QName == xmlns:??? is handled independently as a namespace
5467definition.</P
5468><P
5469></P
5470><DIV
5471CLASS="INFORMALTABLE"
5472><P
5473></P
5474><TABLE
5475BORDER="0"
5476WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005477BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005478CELLSPACING="0"
5479CELLPADDING="4"
5480CLASS="CALSTABLE"
5481><TR
5482><TD
5483WIDTH="20%"
5484ALIGN="RIGHT"
5485VALIGN="TOP"
5486><TT
5487CLASS="PARAMETER"
5488><I
5489>ctxt</I
5490></TT
5491>&nbsp;:</TD
5492><TD
5493WIDTH="80%"
5494ALIGN="LEFT"
5495VALIGN="TOP"
5496> an XML parser context</TD
5497></TR
5498><TR
5499><TD
5500WIDTH="20%"
5501ALIGN="RIGHT"
5502VALIGN="TOP"
5503><TT
5504CLASS="PARAMETER"
5505><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00005506>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00005507></TT
5508>&nbsp;:</TD
5509><TD
5510WIDTH="80%"
5511ALIGN="LEFT"
5512VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005513> a CHAR ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005514></TR
5515><TR
5516><TD
5517WIDTH="20%"
5518ALIGN="RIGHT"
5519VALIGN="TOP"
5520><I
5521CLASS="EMPHASIS"
5522>Returns</I
5523> :</TD
5524><TD
5525WIDTH="80%"
5526ALIGN="LEFT"
5527VALIGN="TOP"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005528>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005529></TR
5530></TABLE
5531><P
5532></P
5533></DIV
5534></DIV
5535><HR><DIV
5536CLASS="REFSECT2"
5537><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005538NAME="AEN5887"
Daniel Veillard35925471999-02-25 08:46:07 +00005539></A
5540><H3
5541><A
5542NAME="XMLPARSESTARTTAG"
5543></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005544>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005545><TABLE
5546BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005547BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005548WIDTH="100%"
5549CELLPADDING="6"
5550><TR
5551><TD
5552><PRE
5553CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00005554><A
5555HREF="gnome-xml-tree.html#CHAR"
5556>CHAR</A
5557>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005558HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5559>xmlParserCtxtPtr</A
5560> ctxt);</PRE
5561></TD
5562></TR
5563></TABLE
5564><P
5565>parse a start of tag either for rule element or
5566EmptyElement. In both case we don't parse the tag closing chars.</P
5567><P
5568>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
5569><P
5570>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
5571><P
5572>With namespace:</P
5573><P
5574>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
5575><P
5576>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
5577><P
5578></P
5579><DIV
5580CLASS="INFORMALTABLE"
5581><P
5582></P
5583><TABLE
5584BORDER="0"
5585WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005586BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005587CELLSPACING="0"
5588CELLPADDING="4"
5589CLASS="CALSTABLE"
5590><TR
5591><TD
5592WIDTH="20%"
5593ALIGN="RIGHT"
5594VALIGN="TOP"
5595><TT
5596CLASS="PARAMETER"
5597><I
5598>ctxt</I
5599></TT
5600>&nbsp;:</TD
5601><TD
5602WIDTH="80%"
5603ALIGN="LEFT"
5604VALIGN="TOP"
5605> an XML parser context</TD
5606></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00005607><TR
5608><TD
5609WIDTH="20%"
5610ALIGN="RIGHT"
5611VALIGN="TOP"
5612><I
5613CLASS="EMPHASIS"
5614>Returns</I
5615> :</TD
5616><TD
5617WIDTH="80%"
5618ALIGN="LEFT"
5619VALIGN="TOP"
5620>the element name parsed</TD
5621></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005622></TABLE
5623><P
5624></P
5625></DIV
5626></DIV
5627><HR><DIV
5628CLASS="REFSECT2"
5629><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005630NAME="AEN5913"
Daniel Veillard35925471999-02-25 08:46:07 +00005631></A
5632><H3
5633><A
5634NAME="XMLPARSEENDTAG"
5635></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005636>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005637><TABLE
5638BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005639BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005640WIDTH="100%"
5641CELLPADDING="6"
5642><TR
5643><TD
5644><PRE
5645CLASS="PROGRAMLISTING"
5646>void xmlParseEndTag (<A
5647HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5648>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +00005649> ctxt,
5650 <A
5651HREF="gnome-xml-tree.html#CHAR"
5652>CHAR</A
5653> *tagname);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005654></TD
5655></TR
5656></TABLE
5657><P
5658>parse an end of tag</P
5659><P
5660>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
5661><P
5662>With namespace</P
5663><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00005664>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005665><P
5666></P
5667><DIV
5668CLASS="INFORMALTABLE"
5669><P
5670></P
5671><TABLE
5672BORDER="0"
5673WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005674BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005675CELLSPACING="0"
5676CELLPADDING="4"
5677CLASS="CALSTABLE"
5678><TR
5679><TD
5680WIDTH="20%"
5681ALIGN="RIGHT"
5682VALIGN="TOP"
5683><TT
5684CLASS="PARAMETER"
5685><I
5686>ctxt</I
5687></TT
5688>&nbsp;:</TD
5689><TD
5690WIDTH="80%"
5691ALIGN="LEFT"
5692VALIGN="TOP"
5693> an XML parser context</TD
5694></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00005695><TR
5696><TD
5697WIDTH="20%"
5698ALIGN="RIGHT"
5699VALIGN="TOP"
5700><TT
5701CLASS="PARAMETER"
5702><I
5703>tagname</I
5704></TT
5705>&nbsp;:</TD
5706><TD
5707WIDTH="80%"
5708ALIGN="LEFT"
5709VALIGN="TOP"
5710> the tag name as parsed in the opening tag.</TD
5711></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005712></TABLE
5713><P
5714></P
5715></DIV
5716></DIV
5717><HR><DIV
5718CLASS="REFSECT2"
5719><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005720NAME="AEN5937"
Daniel Veillard35925471999-02-25 08:46:07 +00005721></A
5722><H3
5723><A
5724NAME="XMLPARSECDSECT"
5725></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005726>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005727><TABLE
5728BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005729BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005730WIDTH="100%"
5731CELLPADDING="6"
5732><TR
5733><TD
5734><PRE
5735CLASS="PROGRAMLISTING"
5736>void xmlParseCDSect (<A
5737HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5738>xmlParserCtxtPtr</A
5739> ctxt);</PRE
5740></TD
5741></TR
5742></TABLE
5743><P
5744>Parse escaped pure raw content.</P
5745><P
5746>[18] CDSect ::= CDStart CData CDEnd</P
5747><P
5748>[19] CDStart ::= '&lt;![CDATA['</P
5749><P
5750>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
5751><P
5752>[21] CDEnd ::= ']]&gt;'</P
5753><P
5754></P
5755><DIV
5756CLASS="INFORMALTABLE"
5757><P
5758></P
5759><TABLE
5760BORDER="0"
5761WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005762BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005763CELLSPACING="0"
5764CELLPADDING="4"
5765CLASS="CALSTABLE"
5766><TR
5767><TD
5768WIDTH="20%"
5769ALIGN="RIGHT"
5770VALIGN="TOP"
5771><TT
5772CLASS="PARAMETER"
5773><I
5774>ctxt</I
5775></TT
5776>&nbsp;:</TD
5777><TD
5778WIDTH="80%"
5779ALIGN="LEFT"
5780VALIGN="TOP"
5781> an XML parser context</TD
5782></TR
5783></TABLE
5784><P
5785></P
5786></DIV
5787></DIV
5788><HR><DIV
5789CLASS="REFSECT2"
5790><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005791NAME="AEN5957"
Daniel Veillard35925471999-02-25 08:46:07 +00005792></A
5793><H3
5794><A
5795NAME="XMLPARSECONTENT"
5796></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005797>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005798><TABLE
5799BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005800BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005801WIDTH="100%"
5802CELLPADDING="6"
5803><TR
5804><TD
5805><PRE
5806CLASS="PROGRAMLISTING"
5807>void xmlParseContent (<A
5808HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5809>xmlParserCtxtPtr</A
5810> ctxt);</PRE
5811></TD
5812></TR
5813></TABLE
5814><P
5815>Parse a content:</P
5816><P
5817>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
5818><P
5819></P
5820><DIV
5821CLASS="INFORMALTABLE"
5822><P
5823></P
5824><TABLE
5825BORDER="0"
5826WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005827BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005828CELLSPACING="0"
5829CELLPADDING="4"
5830CLASS="CALSTABLE"
5831><TR
5832><TD
5833WIDTH="20%"
5834ALIGN="RIGHT"
5835VALIGN="TOP"
5836><TT
5837CLASS="PARAMETER"
5838><I
5839>ctxt</I
5840></TT
5841>&nbsp;:</TD
5842><TD
5843WIDTH="80%"
5844ALIGN="LEFT"
5845VALIGN="TOP"
5846> an XML parser context</TD
5847></TR
5848></TABLE
5849><P
5850></P
5851></DIV
5852></DIV
5853><HR><DIV
5854CLASS="REFSECT2"
5855><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005856NAME="AEN5974"
Daniel Veillard35925471999-02-25 08:46:07 +00005857></A
5858><H3
5859><A
5860NAME="XMLPARSEELEMENT"
5861></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005862>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005863><TABLE
5864BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005865BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005866WIDTH="100%"
5867CELLPADDING="6"
5868><TR
5869><TD
5870><PRE
5871CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005872>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005873HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5874>xmlParserCtxtPtr</A
5875> ctxt);</PRE
5876></TD
5877></TR
5878></TABLE
5879><P
5880>parse an XML element, this is highly recursive</P
5881><P
5882>[39] element ::= EmptyElemTag | STag content ETag</P
5883><P
5884>[41] Attribute ::= Name Eq AttValue</P
5885><P
5886></P
5887><DIV
5888CLASS="INFORMALTABLE"
5889><P
5890></P
5891><TABLE
5892BORDER="0"
5893WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005894BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005895CELLSPACING="0"
5896CELLPADDING="4"
5897CLASS="CALSTABLE"
5898><TR
5899><TD
5900WIDTH="20%"
5901ALIGN="RIGHT"
5902VALIGN="TOP"
5903><TT
5904CLASS="PARAMETER"
5905><I
5906>ctxt</I
5907></TT
5908>&nbsp;:</TD
5909><TD
5910WIDTH="80%"
5911ALIGN="LEFT"
5912VALIGN="TOP"
5913> an XML parser context</TD
5914></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005915></TABLE
5916><P
5917></P
5918></DIV
5919></DIV
5920><HR><DIV
5921CLASS="REFSECT2"
5922><A
Daniel Veillard14fff061999-06-22 21:49:07 +00005923NAME="AEN5992"
Daniel Veillard35925471999-02-25 08:46:07 +00005924></A
5925><H3
5926><A
5927NAME="XMLPARSEVERSIONNUM"
5928></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005929>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005930><TABLE
5931BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005932BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005933WIDTH="100%"
5934CELLPADDING="6"
5935><TR
5936><TD
5937><PRE
5938CLASS="PROGRAMLISTING"
5939><A
5940HREF="gnome-xml-tree.html#CHAR"
5941>CHAR</A
5942>* xmlParseVersionNum (<A
5943HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5944>xmlParserCtxtPtr</A
5945> ctxt);</PRE
5946></TD
5947></TR
5948></TABLE
5949><P
5950>parse the XML version value.</P
5951><P
5952>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
5953><P
5954></P
5955><DIV
5956CLASS="INFORMALTABLE"
5957><P
5958></P
5959><TABLE
5960BORDER="0"
5961WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005962BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005963CELLSPACING="0"
5964CELLPADDING="4"
5965CLASS="CALSTABLE"
5966><TR
5967><TD
5968WIDTH="20%"
5969ALIGN="RIGHT"
5970VALIGN="TOP"
5971><TT
5972CLASS="PARAMETER"
5973><I
5974>ctxt</I
5975></TT
5976>&nbsp;:</TD
5977><TD
5978WIDTH="80%"
5979ALIGN="LEFT"
5980VALIGN="TOP"
5981> an XML parser context</TD
5982></TR
5983><TR
5984><TD
5985WIDTH="20%"
5986ALIGN="RIGHT"
5987VALIGN="TOP"
5988><I
5989CLASS="EMPHASIS"
5990>Returns</I
5991> :</TD
5992><TD
5993WIDTH="80%"
5994ALIGN="LEFT"
5995VALIGN="TOP"
5996>the string giving the XML version number, or NULL</TD
5997></TR
5998></TABLE
5999><P
6000></P
6001></DIV
6002></DIV
6003><HR><DIV
6004CLASS="REFSECT2"
6005><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006006NAME="AEN6014"
Daniel Veillard35925471999-02-25 08:46:07 +00006007></A
6008><H3
6009><A
6010NAME="XMLPARSEVERSIONINFO"
6011></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006012>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006013><TABLE
6014BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006015BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006016WIDTH="100%"
6017CELLPADDING="6"
6018><TR
6019><TD
6020><PRE
6021CLASS="PROGRAMLISTING"
6022><A
6023HREF="gnome-xml-tree.html#CHAR"
6024>CHAR</A
6025>* xmlParseVersionInfo (<A
6026HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6027>xmlParserCtxtPtr</A
6028> ctxt);</PRE
6029></TD
6030></TR
6031></TABLE
6032><P
6033>parse the XML version.</P
6034><P
6035>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6036><P
6037>[25] Eq ::= S? '=' S?</P
6038><P
6039></P
6040><DIV
6041CLASS="INFORMALTABLE"
6042><P
6043></P
6044><TABLE
6045BORDER="0"
6046WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006047BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006048CELLSPACING="0"
6049CELLPADDING="4"
6050CLASS="CALSTABLE"
6051><TR
6052><TD
6053WIDTH="20%"
6054ALIGN="RIGHT"
6055VALIGN="TOP"
6056><TT
6057CLASS="PARAMETER"
6058><I
6059>ctxt</I
6060></TT
6061>&nbsp;:</TD
6062><TD
6063WIDTH="80%"
6064ALIGN="LEFT"
6065VALIGN="TOP"
6066> an XML parser context</TD
6067></TR
6068><TR
6069><TD
6070WIDTH="20%"
6071ALIGN="RIGHT"
6072VALIGN="TOP"
6073><I
6074CLASS="EMPHASIS"
6075>Returns</I
6076> :</TD
6077><TD
6078WIDTH="80%"
6079ALIGN="LEFT"
6080VALIGN="TOP"
6081>the version string, e.g. "1.0"</TD
6082></TR
6083></TABLE
6084><P
6085></P
6086></DIV
6087></DIV
6088><HR><DIV
6089CLASS="REFSECT2"
6090><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006091NAME="AEN6037"
Daniel Veillard35925471999-02-25 08:46:07 +00006092></A
6093><H3
6094><A
6095NAME="XMLPARSEENCNAME"
6096></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006097>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006098><TABLE
6099BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006100BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006101WIDTH="100%"
6102CELLPADDING="6"
6103><TR
6104><TD
6105><PRE
6106CLASS="PROGRAMLISTING"
6107><A
6108HREF="gnome-xml-tree.html#CHAR"
6109>CHAR</A
6110>* xmlParseEncName (<A
6111HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6112>xmlParserCtxtPtr</A
6113> ctxt);</PRE
6114></TD
6115></TR
6116></TABLE
6117><P
6118>parse the XML encoding name</P
6119><P
6120>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6121><P
6122></P
6123><DIV
6124CLASS="INFORMALTABLE"
6125><P
6126></P
6127><TABLE
6128BORDER="0"
6129WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006130BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006131CELLSPACING="0"
6132CELLPADDING="4"
6133CLASS="CALSTABLE"
6134><TR
6135><TD
6136WIDTH="20%"
6137ALIGN="RIGHT"
6138VALIGN="TOP"
6139><TT
6140CLASS="PARAMETER"
6141><I
6142>ctxt</I
6143></TT
6144>&nbsp;:</TD
6145><TD
6146WIDTH="80%"
6147ALIGN="LEFT"
6148VALIGN="TOP"
6149> an XML parser context</TD
6150></TR
6151><TR
6152><TD
6153WIDTH="20%"
6154ALIGN="RIGHT"
6155VALIGN="TOP"
6156><I
6157CLASS="EMPHASIS"
6158>Returns</I
6159> :</TD
6160><TD
6161WIDTH="80%"
6162ALIGN="LEFT"
6163VALIGN="TOP"
6164>the encoding name value or NULL</TD
6165></TR
6166></TABLE
6167><P
6168></P
6169></DIV
6170></DIV
6171><HR><DIV
6172CLASS="REFSECT2"
6173><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006174NAME="AEN6059"
Daniel Veillard35925471999-02-25 08:46:07 +00006175></A
6176><H3
6177><A
6178NAME="XMLPARSEENCODINGDECL"
6179></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006180>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006181><TABLE
6182BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006183BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006184WIDTH="100%"
6185CELLPADDING="6"
6186><TR
6187><TD
6188><PRE
6189CLASS="PROGRAMLISTING"
6190><A
6191HREF="gnome-xml-tree.html#CHAR"
6192>CHAR</A
6193>* xmlParseEncodingDecl (<A
6194HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6195>xmlParserCtxtPtr</A
6196> ctxt);</PRE
6197></TD
6198></TR
6199></TABLE
6200><P
6201>parse the XML encoding declaration</P
6202><P
6203>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6204><P
6205>TODO: this should setup the conversion filters.</P
6206><P
6207></P
6208><DIV
6209CLASS="INFORMALTABLE"
6210><P
6211></P
6212><TABLE
6213BORDER="0"
6214WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006215BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006216CELLSPACING="0"
6217CELLPADDING="4"
6218CLASS="CALSTABLE"
6219><TR
6220><TD
6221WIDTH="20%"
6222ALIGN="RIGHT"
6223VALIGN="TOP"
6224><TT
6225CLASS="PARAMETER"
6226><I
6227>ctxt</I
6228></TT
6229>&nbsp;:</TD
6230><TD
6231WIDTH="80%"
6232ALIGN="LEFT"
6233VALIGN="TOP"
6234> an XML parser context</TD
6235></TR
6236><TR
6237><TD
6238WIDTH="20%"
6239ALIGN="RIGHT"
6240VALIGN="TOP"
6241><I
6242CLASS="EMPHASIS"
6243>Returns</I
6244> :</TD
6245><TD
6246WIDTH="80%"
6247ALIGN="LEFT"
6248VALIGN="TOP"
6249>the encoding value or NULL</TD
6250></TR
6251></TABLE
6252><P
6253></P
6254></DIV
6255></DIV
6256><HR><DIV
6257CLASS="REFSECT2"
6258><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006259NAME="AEN6082"
Daniel Veillard35925471999-02-25 08:46:07 +00006260></A
6261><H3
6262><A
6263NAME="XMLPARSESDDECL"
6264></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006265>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006266><TABLE
6267BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006268BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006269WIDTH="100%"
6270CELLPADDING="6"
6271><TR
6272><TD
6273><PRE
6274CLASS="PROGRAMLISTING"
6275>int xmlParseSDDecl (<A
6276HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6277>xmlParserCtxtPtr</A
6278> ctxt);</PRE
6279></TD
6280></TR
6281></TABLE
6282><P
6283>parse the XML standalone declaration</P
6284><P
6285>[32] SDDecl ::= S 'standalone' Eq
6286(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))</P
6287><P
6288></P
6289><DIV
6290CLASS="INFORMALTABLE"
6291><P
6292></P
6293><TABLE
6294BORDER="0"
6295WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006296BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006297CELLSPACING="0"
6298CELLPADDING="4"
6299CLASS="CALSTABLE"
6300><TR
6301><TD
6302WIDTH="20%"
6303ALIGN="RIGHT"
6304VALIGN="TOP"
6305><TT
6306CLASS="PARAMETER"
6307><I
6308>ctxt</I
6309></TT
6310>&nbsp;:</TD
6311><TD
6312WIDTH="80%"
6313ALIGN="LEFT"
6314VALIGN="TOP"
6315> an XML parser context</TD
6316></TR
6317><TR
6318><TD
6319WIDTH="20%"
6320ALIGN="RIGHT"
6321VALIGN="TOP"
6322><I
6323CLASS="EMPHASIS"
6324>Returns</I
6325> :</TD
6326><TD
6327WIDTH="80%"
6328ALIGN="LEFT"
6329VALIGN="TOP"
6330>1 if standalone, 0 otherwise</TD
6331></TR
6332></TABLE
6333><P
6334></P
6335></DIV
6336></DIV
6337><HR><DIV
6338CLASS="REFSECT2"
6339><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006340NAME="AEN6103"
Daniel Veillard35925471999-02-25 08:46:07 +00006341></A
6342><H3
6343><A
6344NAME="XMLPARSEXMLDECL"
6345></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006346>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006347><TABLE
6348BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006349BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006350WIDTH="100%"
6351CELLPADDING="6"
6352><TR
6353><TD
6354><PRE
6355CLASS="PROGRAMLISTING"
6356>void xmlParseXMLDecl (<A
6357HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6358>xmlParserCtxtPtr</A
6359> ctxt);</PRE
6360></TD
6361></TR
6362></TABLE
6363><P
6364>parse an XML declaration header</P
6365><P
6366>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
6367><P
6368></P
6369><DIV
6370CLASS="INFORMALTABLE"
6371><P
6372></P
6373><TABLE
6374BORDER="0"
6375WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006376BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006377CELLSPACING="0"
6378CELLPADDING="4"
6379CLASS="CALSTABLE"
6380><TR
6381><TD
6382WIDTH="20%"
6383ALIGN="RIGHT"
6384VALIGN="TOP"
6385><TT
6386CLASS="PARAMETER"
6387><I
6388>ctxt</I
6389></TT
6390>&nbsp;:</TD
6391><TD
6392WIDTH="80%"
6393ALIGN="LEFT"
6394VALIGN="TOP"
6395> an XML parser context</TD
6396></TR
6397></TABLE
6398><P
6399></P
6400></DIV
6401></DIV
6402><HR><DIV
6403CLASS="REFSECT2"
6404><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006405NAME="AEN6120"
Daniel Veillard35925471999-02-25 08:46:07 +00006406></A
6407><H3
6408><A
6409NAME="XMLPARSEMISC"
6410></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006411>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006412><TABLE
6413BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006414BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006415WIDTH="100%"
6416CELLPADDING="6"
6417><TR
6418><TD
6419><PRE
6420CLASS="PROGRAMLISTING"
6421>void xmlParseMisc (<A
6422HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6423>xmlParserCtxtPtr</A
6424> ctxt);</PRE
6425></TD
6426></TR
6427></TABLE
6428><P
6429>parse an XML Misc* optionnal field.</P
6430><P
6431>[27] Misc ::= Comment | PI | S</P
6432><P
6433></P
6434><DIV
6435CLASS="INFORMALTABLE"
6436><P
6437></P
6438><TABLE
6439BORDER="0"
6440WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006441BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006442CELLSPACING="0"
6443CELLPADDING="4"
6444CLASS="CALSTABLE"
6445><TR
6446><TD
6447WIDTH="20%"
6448ALIGN="RIGHT"
6449VALIGN="TOP"
6450><TT
6451CLASS="PARAMETER"
6452><I
6453>ctxt</I
6454></TT
6455>&nbsp;:</TD
6456><TD
6457WIDTH="80%"
6458ALIGN="LEFT"
6459VALIGN="TOP"
6460> an XML parser context</TD
6461></TR
6462></TABLE
6463><P
6464></P
6465></DIV
6466></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00006467><HR><DIV
6468CLASS="REFSECT2"
6469><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006470NAME="AEN6137"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006471></A
6472><H3
6473><A
6474NAME="XML-SUBSTITUTE-NONE"
6475></A
6476>XML_SUBSTITUTE_NONE</H3
6477><TABLE
6478BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006479BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006480WIDTH="100%"
6481CELLPADDING="6"
6482><TR
6483><TD
6484><PRE
6485CLASS="PROGRAMLISTING"
6486>#define XML_SUBSTITUTE_NONE 0</PRE
6487></TD
6488></TR
6489></TABLE
6490><P
6491></P
6492></DIV
6493><HR><DIV
6494CLASS="REFSECT2"
6495><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006496NAME="AEN6142"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006497></A
6498><H3
6499><A
6500NAME="XML-SUBSTITUTE-REF"
6501></A
6502>XML_SUBSTITUTE_REF</H3
6503><TABLE
6504BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006505BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006506WIDTH="100%"
6507CELLPADDING="6"
6508><TR
6509><TD
6510><PRE
6511CLASS="PROGRAMLISTING"
6512>#define XML_SUBSTITUTE_REF 1</PRE
6513></TD
6514></TR
6515></TABLE
6516><P
6517></P
6518></DIV
6519><HR><DIV
6520CLASS="REFSECT2"
6521><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006522NAME="AEN6147"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006523></A
6524><H3
6525><A
6526NAME="XML-SUBSTITUTE-PEREF"
6527></A
6528>XML_SUBSTITUTE_PEREF</H3
6529><TABLE
6530BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006531BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006532WIDTH="100%"
6533CELLPADDING="6"
6534><TR
6535><TD
6536><PRE
6537CLASS="PROGRAMLISTING"
6538>#define XML_SUBSTITUTE_PEREF 2</PRE
6539></TD
6540></TR
6541></TABLE
6542><P
6543></P
6544></DIV
6545><HR><DIV
6546CLASS="REFSECT2"
6547><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006548NAME="AEN6152"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006549></A
6550><H3
6551><A
6552NAME="XML-SUBSTITUTE-BOTH"
6553></A
6554>XML_SUBSTITUTE_BOTH</H3
6555><TABLE
6556BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006557BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006558WIDTH="100%"
6559CELLPADDING="6"
6560><TR
6561><TD
6562><PRE
6563CLASS="PROGRAMLISTING"
6564>#define XML_SUBSTITUTE_BOTH 3</PRE
6565></TD
6566></TR
6567></TABLE
6568><P
6569></P
6570></DIV
6571><HR><DIV
6572CLASS="REFSECT2"
6573><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006574NAME="AEN6157"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006575></A
6576><H3
6577><A
6578NAME="XMLDECODEENTITIES"
6579></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006580>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00006581><TABLE
6582BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006583BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006584WIDTH="100%"
6585CELLPADDING="6"
6586><TR
6587><TD
6588><PRE
6589CLASS="PROGRAMLISTING"
6590><A
6591HREF="gnome-xml-tree.html#CHAR"
6592>CHAR</A
6593>* xmlDecodeEntities (<A
6594HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6595>xmlParserCtxtPtr</A
6596> ctxt,
6597 int len,
6598 int what,
6599 <A
6600HREF="gnome-xml-tree.html#CHAR"
6601>CHAR</A
6602> end,
6603 <A
6604HREF="gnome-xml-tree.html#CHAR"
6605>CHAR</A
6606> end2,
6607 <A
6608HREF="gnome-xml-tree.html#CHAR"
6609>CHAR</A
6610> end3);</PRE
6611></TD
6612></TR
6613></TABLE
6614><P
6615>[67] Reference ::= EntityRef | CharRef</P
6616><P
6617>[69] PEReference ::= '%' Name ';'</P
6618><P
6619></P
6620><DIV
6621CLASS="INFORMALTABLE"
6622><P
6623></P
6624><TABLE
6625BORDER="0"
6626WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006627BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006628CELLSPACING="0"
6629CELLPADDING="4"
6630CLASS="CALSTABLE"
6631><TR
6632><TD
6633WIDTH="20%"
6634ALIGN="RIGHT"
6635VALIGN="TOP"
6636><TT
6637CLASS="PARAMETER"
6638><I
6639>ctxt</I
6640></TT
6641>&nbsp;:</TD
6642><TD
6643WIDTH="80%"
6644ALIGN="LEFT"
6645VALIGN="TOP"
6646> the parser context</TD
6647></TR
6648><TR
6649><TD
6650WIDTH="20%"
6651ALIGN="RIGHT"
6652VALIGN="TOP"
6653><TT
6654CLASS="PARAMETER"
6655><I
6656>len</I
6657></TT
6658>&nbsp;:</TD
6659><TD
6660WIDTH="80%"
6661ALIGN="LEFT"
6662VALIGN="TOP"
6663> the len to decode (in bytes !), -1 for no size limit</TD
6664></TR
6665><TR
6666><TD
6667WIDTH="20%"
6668ALIGN="RIGHT"
6669VALIGN="TOP"
6670><TT
6671CLASS="PARAMETER"
6672><I
6673>what</I
6674></TT
6675>&nbsp;:</TD
6676><TD
6677WIDTH="80%"
6678ALIGN="LEFT"
6679VALIGN="TOP"
6680> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
6681></TR
6682><TR
6683><TD
6684WIDTH="20%"
6685ALIGN="RIGHT"
6686VALIGN="TOP"
6687><TT
6688CLASS="PARAMETER"
6689><I
6690>end</I
6691></TT
6692>&nbsp;:</TD
6693><TD
6694WIDTH="80%"
6695ALIGN="LEFT"
6696VALIGN="TOP"
6697> an end marker CHAR, 0 if none</TD
6698></TR
6699><TR
6700><TD
6701WIDTH="20%"
6702ALIGN="RIGHT"
6703VALIGN="TOP"
6704><TT
6705CLASS="PARAMETER"
6706><I
6707>end2</I
6708></TT
6709>&nbsp;:</TD
6710><TD
6711WIDTH="80%"
6712ALIGN="LEFT"
6713VALIGN="TOP"
6714> an end marker CHAR, 0 if none</TD
6715></TR
6716><TR
6717><TD
6718WIDTH="20%"
6719ALIGN="RIGHT"
6720VALIGN="TOP"
6721><TT
6722CLASS="PARAMETER"
6723><I
6724>end3</I
6725></TT
6726>&nbsp;:</TD
6727><TD
6728WIDTH="80%"
6729ALIGN="LEFT"
6730VALIGN="TOP"
6731> an end marker CHAR, 0 if none</TD
6732></TR
6733><TR
6734><TD
6735WIDTH="20%"
6736ALIGN="RIGHT"
6737VALIGN="TOP"
6738><I
6739CLASS="EMPHASIS"
6740>Returns</I
6741> :</TD
6742><TD
6743WIDTH="80%"
6744ALIGN="LEFT"
6745VALIGN="TOP"
6746>A newly allocated string with the substitution done. The caller
6747must deallocate it !</TD
6748></TR
6749></TABLE
6750><P
6751></P
6752></DIV
6753></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00006754><HR><DIV
6755CLASS="REFSECT2"
6756><A
6757NAME="AEN6202"
6758></A
6759><H3
6760><A
6761NAME="NODEPUSH"
6762></A
6763>nodePush ()</H3
6764><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006765BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006766BGCOLOR="#D6E8FF"
6767WIDTH="100%"
6768CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00006769><TR
6770><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006771><PRE
6772CLASS="PROGRAMLISTING"
6773>int nodePush (<A
6774HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6775>xmlParserCtxtPtr</A
6776> ctxt,
6777 <A
6778HREF="gnome-xml-tree.html#XMLNODEPTR"
6779>xmlNodePtr</A
6780> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006781></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006782></TR
6783></TABLE
6784><P
6785></P
6786><DIV
6787CLASS="INFORMALTABLE"
6788><P
6789></P
6790><TABLE
6791BORDER="0"
6792WIDTH="100%"
6793BGCOLOR="#FFD0D0"
6794CELLSPACING="0"
6795CELLPADDING="4"
6796CLASS="CALSTABLE"
6797><TR
Daniel Veillard35925471999-02-25 08:46:07 +00006798><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006799WIDTH="20%"
6800ALIGN="RIGHT"
6801VALIGN="TOP"
6802><TT
6803CLASS="PARAMETER"
6804><I
6805>ctxt</I
6806></TT
6807>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006808><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006809WIDTH="80%"
6810ALIGN="LEFT"
6811VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00006812>&nbsp;</TD
6813></TR
6814><TR
6815><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006816WIDTH="20%"
6817ALIGN="RIGHT"
6818VALIGN="TOP"
6819><TT
6820CLASS="PARAMETER"
6821><I
6822>value</I
6823></TT
6824>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006825><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006826WIDTH="80%"
6827ALIGN="LEFT"
6828VALIGN="TOP"
6829>&nbsp;</TD
6830></TR
6831><TR
6832><TD
6833WIDTH="20%"
6834ALIGN="RIGHT"
6835VALIGN="TOP"
6836><I
6837CLASS="EMPHASIS"
6838>Returns</I
6839> :</TD
6840><TD
6841WIDTH="80%"
6842ALIGN="LEFT"
6843VALIGN="TOP"
6844>&nbsp;</TD
6845></TR
6846></TABLE
6847><P
6848></P
6849></DIV
6850></DIV
6851><HR><DIV
6852CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00006853><A
Daniel Veillard14fff061999-06-22 21:49:07 +00006854NAME="AEN6226"
6855></A
6856><H3
6857><A
6858NAME="NODEPOP"
6859></A
6860>nodePop ()</H3
6861><TABLE
6862BORDER="0"
6863BGCOLOR="#D6E8FF"
6864WIDTH="100%"
6865CELLPADDING="6"
6866><TR
6867><TD
6868><PRE
6869CLASS="PROGRAMLISTING"
6870><A
6871HREF="gnome-xml-tree.html#XMLNODEPTR"
6872>xmlNodePtr</A
6873> nodePop (<A
6874HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6875>xmlParserCtxtPtr</A
6876> ctxt);</PRE
6877></TD
6878></TR
6879></TABLE
6880><P
6881></P
6882><DIV
6883CLASS="INFORMALTABLE"
6884><P
6885></P
6886><TABLE
6887BORDER="0"
6888WIDTH="100%"
6889BGCOLOR="#FFD0D0"
6890CELLSPACING="0"
6891CELLPADDING="4"
6892CLASS="CALSTABLE"
6893><TR
6894><TD
6895WIDTH="20%"
6896ALIGN="RIGHT"
6897VALIGN="TOP"
6898><TT
6899CLASS="PARAMETER"
6900><I
6901>ctxt</I
6902></TT
6903>&nbsp;:</TD
6904><TD
6905WIDTH="80%"
6906ALIGN="LEFT"
6907VALIGN="TOP"
6908>&nbsp;</TD
6909></TR
6910><TR
6911><TD
6912WIDTH="20%"
6913ALIGN="RIGHT"
6914VALIGN="TOP"
6915><I
6916CLASS="EMPHASIS"
6917>Returns</I
6918> :</TD
6919><TD
6920WIDTH="80%"
6921ALIGN="LEFT"
6922VALIGN="TOP"
6923>&nbsp;</TD
6924></TR
6925></TABLE
6926><P
6927></P
6928></DIV
6929></DIV
6930><HR><DIV
6931CLASS="REFSECT2"
6932><A
6933NAME="AEN6246"
6934></A
6935><H3
6936><A
6937NAME="INPUTPUSH"
6938></A
6939>inputPush ()</H3
6940><TABLE
6941BORDER="0"
6942BGCOLOR="#D6E8FF"
6943WIDTH="100%"
6944CELLPADDING="6"
6945><TR
6946><TD
6947><PRE
6948CLASS="PROGRAMLISTING"
6949>int inputPush (<A
6950HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6951>xmlParserCtxtPtr</A
6952> ctxt,
6953 <A
6954HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
6955>xmlParserInputPtr</A
6956> value);</PRE
6957></TD
6958></TR
6959></TABLE
6960><P
6961></P
6962><DIV
6963CLASS="INFORMALTABLE"
6964><P
6965></P
6966><TABLE
6967BORDER="0"
6968WIDTH="100%"
6969BGCOLOR="#FFD0D0"
6970CELLSPACING="0"
6971CELLPADDING="4"
6972CLASS="CALSTABLE"
6973><TR
6974><TD
6975WIDTH="20%"
6976ALIGN="RIGHT"
6977VALIGN="TOP"
6978><TT
6979CLASS="PARAMETER"
6980><I
6981>ctxt</I
6982></TT
6983>&nbsp;:</TD
6984><TD
6985WIDTH="80%"
6986ALIGN="LEFT"
6987VALIGN="TOP"
6988>&nbsp;</TD
6989></TR
6990><TR
6991><TD
6992WIDTH="20%"
6993ALIGN="RIGHT"
6994VALIGN="TOP"
6995><TT
6996CLASS="PARAMETER"
6997><I
6998>value</I
6999></TT
7000>&nbsp;:</TD
7001><TD
7002WIDTH="80%"
7003ALIGN="LEFT"
7004VALIGN="TOP"
7005>&nbsp;</TD
7006></TR
7007><TR
7008><TD
7009WIDTH="20%"
7010ALIGN="RIGHT"
7011VALIGN="TOP"
7012><I
7013CLASS="EMPHASIS"
7014>Returns</I
7015> :</TD
7016><TD
7017WIDTH="80%"
7018ALIGN="LEFT"
7019VALIGN="TOP"
7020>&nbsp;</TD
7021></TR
7022></TABLE
7023><P
7024></P
7025></DIV
7026></DIV
7027><HR><DIV
7028CLASS="REFSECT2"
7029><A
7030NAME="AEN6270"
7031></A
7032><H3
7033><A
7034NAME="INPUTPOP"
7035></A
7036>inputPop ()</H3
7037><TABLE
7038BORDER="0"
7039BGCOLOR="#D6E8FF"
7040WIDTH="100%"
7041CELLPADDING="6"
7042><TR
7043><TD
7044><PRE
7045CLASS="PROGRAMLISTING"
7046><A
7047HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7048>xmlParserInputPtr</A
7049> inputPop (<A
7050HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7051>xmlParserCtxtPtr</A
7052> ctxt);</PRE
7053></TD
7054></TR
7055></TABLE
7056><P
7057></P
7058><DIV
7059CLASS="INFORMALTABLE"
7060><P
7061></P
7062><TABLE
7063BORDER="0"
7064WIDTH="100%"
7065BGCOLOR="#FFD0D0"
7066CELLSPACING="0"
7067CELLPADDING="4"
7068CLASS="CALSTABLE"
7069><TR
7070><TD
7071WIDTH="20%"
7072ALIGN="RIGHT"
7073VALIGN="TOP"
7074><TT
7075CLASS="PARAMETER"
7076><I
7077>ctxt</I
7078></TT
7079>&nbsp;:</TD
7080><TD
7081WIDTH="80%"
7082ALIGN="LEFT"
7083VALIGN="TOP"
7084>&nbsp;</TD
7085></TR
7086><TR
7087><TD
7088WIDTH="20%"
7089ALIGN="RIGHT"
7090VALIGN="TOP"
7091><I
7092CLASS="EMPHASIS"
7093>Returns</I
7094> :</TD
7095><TD
7096WIDTH="80%"
7097ALIGN="LEFT"
7098VALIGN="TOP"
7099>&nbsp;</TD
7100></TR
7101></TABLE
7102><P
7103></P
7104></DIV
7105></DIV
7106></DIV
7107><DIV
7108CLASS="NAVFOOTER"
7109><BR><BR><TABLE
7110WIDTH="100%"
7111BORDER="0"
7112BGCOLOR="#000000"
7113CELLPADDING="1"
7114CELLSPACING="0"
7115><TR
7116><TD
7117WIDTH="25%"
7118BGCOLOR="#C00000"
7119ALIGN="left"
7120><A
7121HREF="gnome-xml-xml-error.html"
7122><FONT
7123COLOR="#FFFFFF"
7124SIZE="3"
7125><B
7126>&#60;&#60;&#60; Previous Page</B
7127></FONT
7128></A
Daniel Veillard35925471999-02-25 08:46:07 +00007129></TD
7130><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007131WIDTH="25%"
7132BGCOLOR="#0000C0"
7133ALIGN="center"
7134><FONT
7135COLOR="#FFFFFF"
7136SIZE="3"
7137><B
7138><A
7139HREF="book1.html"
7140><FONT
7141COLOR="#FFFFFF"
7142SIZE="3"
7143><B
7144>Home</B
7145></FONT
7146></A
7147></B
7148></FONT
7149></TD
7150><TD
7151WIDTH="25%"
7152BGCOLOR="#00C000"
7153ALIGN="center"
7154><FONT
7155COLOR="#FFFFFF"
7156SIZE="3"
7157><B
7158><A
7159HREF="libxml.html"
7160><FONT
7161COLOR="#FFFFFF"
7162SIZE="3"
7163><B
7164>Up</B
7165></FONT
7166></A
7167></B
7168></FONT
7169></TD
7170><TD
7171WIDTH="25%"
7172BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007173ALIGN="right"
Daniel Veillard14fff061999-06-22 21:49:07 +00007174>&nbsp;</TD
7175></TR
7176><TR
7177><TD
7178COLSPAN="2"
7179ALIGN="left"
7180><FONT
7181COLOR="#FFFFFF"
7182SIZE="3"
7183><B
7184>xml-error</B
7185></FONT
7186></TD
7187><TD
7188COLSPAN="2"
7189ALIGN="right"
Daniel Veillard35925471999-02-25 08:46:07 +00007190>&nbsp;</TD
7191></TR
7192></TABLE
7193></DIV
7194></BODY
7195></HTML
7196>