blob: bf3cd9885524a08d94ba42332fb6649a8c0b32c8 [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"
Daniel Veillard1566d3a1999-07-15 14:24:29 +000016HREF="gnome-xml-xml-error.html"><LINK
17REL="NEXT"
18TITLE="HTMLparser"
19HREF="gnome-xml-htmlparser.html"></HEAD
Daniel Veillard35925471999-02-25 08:46:07 +000020><BODY
21BGCOLOR="#FFFFFF"
22TEXT="#000000"
23><DIV
24CLASS="NAVHEADER"
25><TABLE
26WIDTH="100%"
27BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +000028BGCOLOR="#000000"
29CELLPADDING="1"
Daniel Veillard35925471999-02-25 08:46:07 +000030CELLSPACING="0"
31><TR
32><TH
Daniel Veillard14fff061999-06-22 21:49:07 +000033COLSPAN="4"
Daniel Veillard35925471999-02-25 08:46:07 +000034ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000035><FONT
36COLOR="#FFFFFF"
37SIZE="5"
38>Gnome XML Library Reference Manual</FONT
39></TH
Daniel Veillard35925471999-02-25 08:46:07 +000040></TR
41><TR
42><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000043WIDTH="25%"
44BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000045ALIGN="left"
Daniel Veillard35925471999-02-25 08:46:07 +000046><A
Daniel Veillardd109e371999-03-05 06:26:45 +000047HREF="gnome-xml-xml-error.html"
Daniel Veillard14fff061999-06-22 21:49:07 +000048><FONT
49COLOR="#FFFFFF"
50SIZE="3"
51><B
52>&#60;&#60;&#60; Previous Page</B
53></FONT
54></A
Daniel Veillard35925471999-02-25 08:46:07 +000055></TD
56><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000057WIDTH="25%"
58BGCOLOR="#0000C0"
Daniel Veillard35925471999-02-25 08:46:07 +000059ALIGN="center"
Daniel Veillard14fff061999-06-22 21:49:07 +000060><FONT
61COLOR="#FFFFFF"
62SIZE="3"
63><B
64><A
65HREF="book1.html"
66><FONT
67COLOR="#FFFFFF"
68SIZE="3"
69><B
70>Home</B
71></FONT
72></A
73></B
74></FONT
Daniel Veillard35925471999-02-25 08:46:07 +000075></TD
76><TD
Daniel Veillard14fff061999-06-22 21:49:07 +000077WIDTH="25%"
78BGCOLOR="#00C000"
79ALIGN="center"
80><FONT
81COLOR="#FFFFFF"
82SIZE="3"
83><B
84><A
85HREF="libxml.html"
86><FONT
87COLOR="#FFFFFF"
88SIZE="3"
89><B
90>Up</B
91></FONT
92></A
93></B
94></FONT
95></TD
96><TD
97WIDTH="25%"
98BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +000099ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +0000100><A
101HREF="gnome-xml-htmlparser.html"
102><FONT
103COLOR="#FFFFFF"
104SIZE="3"
105><B
106>Next Page &#62;&#62;&#62;</B
107></FONT
108></A
109></TD
Daniel Veillard35925471999-02-25 08:46:07 +0000110></TR
111></TABLE
Daniel Veillard14fff061999-06-22 21:49:07 +0000112></DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000113><H1
114>parserInternals</H1
115><DIV
116CLASS="REFNAMEDIV"
117><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000118NAME="AEN4681"
Daniel Veillard35925471999-02-25 08:46:07 +0000119></A
120><H2
121>Name</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000122>parserInternals &#8212; </DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000123><DIV
124CLASS="REFSYNOPSISDIV"
125><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000126NAME="AEN4684"
Daniel Veillard35925471999-02-25 08:46:07 +0000127></A
128><H2
129>Synopsis</H2
130><TABLE
131BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000132BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +0000133WIDTH="100%"
134CELLPADDING="6"
135><TR
136><TD
137><PRE
138CLASS="SYNOPSIS"
139>&#13;
140
Daniel Veillard5099ae81999-04-21 20:12:07 +0000141#define <A
142HREF="gnome-xml-parserinternals.html#IS-CHAR"
143>IS_CHAR</A
144> (c)
145#define <A
146HREF="gnome-xml-parserinternals.html#IS-BLANK"
147>IS_BLANK</A
148> (c)
149#define <A
150HREF="gnome-xml-parserinternals.html#IS-BASECHAR"
151>IS_BASECHAR</A
152> (c)
153#define <A
154HREF="gnome-xml-parserinternals.html#IS-DIGIT"
155>IS_DIGIT</A
156> (c)
157#define <A
158HREF="gnome-xml-parserinternals.html#IS-COMBINING"
159>IS_COMBINING</A
160> (c)
161#define <A
162HREF="gnome-xml-parserinternals.html#IS-EXTENDER"
163>IS_EXTENDER</A
164> (c)
165#define <A
166HREF="gnome-xml-parserinternals.html#IS-IDEOGRAPHIC"
167>IS_IDEOGRAPHIC</A
168> (c)
169#define <A
170HREF="gnome-xml-parserinternals.html#IS-LETTER"
171>IS_LETTER</A
172> (c)
173#define <A
174HREF="gnome-xml-parserinternals.html#IS-PUBIDCHAR"
175>IS_PUBIDCHAR</A
176> (c)
177#define <A
178HREF="gnome-xml-parserinternals.html#SKIP-EOL"
179>SKIP_EOL</A
180> (p)
181#define <A
182HREF="gnome-xml-parserinternals.html#MOVETO-ENDTAG"
183>MOVETO_ENDTAG</A
184> (p)
185#define <A
186HREF="gnome-xml-parserinternals.html#MOVETO-STARTTAG"
187>MOVETO_STARTTAG</A
188> (p)
Daniel Veillardd692aa41999-02-28 21:54:31 +0000189<A
190HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
191>xmlParserCtxtPtr</A
192> <A
193HREF="gnome-xml-parserinternals.html#XMLCREATEDOCPARSERCTXT"
194>xmlCreateDocParserCtxt</A
195> (<A
196HREF="gnome-xml-tree.html#CHAR"
197>CHAR</A
198> *cur);
199<A
200HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
201>xmlParserCtxtPtr</A
202> <A
203HREF="gnome-xml-parserinternals.html#XMLCREATEFILEPARSERCTXT"
204>xmlCreateFileParserCtxt</A
205> (const char *filename);
206<A
207HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
208>xmlParserCtxtPtr</A
209> <A
210HREF="gnome-xml-parserinternals.html#XMLCREATEMEMORYPARSERCTXT"
211>xmlCreateMemoryParserCtxt</A
212> (char *buffer,
213 int size);
214void <A
215HREF="gnome-xml-parserinternals.html#XMLFREEPARSERCTXT"
216>xmlFreeParserCtxt</A
217> (<A
218HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
219>xmlParserCtxtPtr</A
220> ctxt);
Daniel Veillard35925471999-02-25 08:46:07 +0000221void <A
222HREF="gnome-xml-parserinternals.html#XMLHANDLEENTITY"
223>xmlHandleEntity</A
224> (<A
225HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
226>xmlParserCtxtPtr</A
227> ctxt,
228 <A
229HREF="gnome-xml-entities.html#XMLENTITYPTR"
230>xmlEntityPtr</A
231> entity);
232<A
Daniel Veillardbc50b591999-03-01 12:28:53 +0000233HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
234>xmlParserInputPtr</A
235> <A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000236HREF="gnome-xml-parserinternals.html#XMLNEWENTITYINPUTSTREAM"
Daniel Veillardbc50b591999-03-01 12:28:53 +0000237>xmlNewEntityInputStream</A
238> (<A
239HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
240>xmlParserCtxtPtr</A
241> ctxt,
242 <A
243HREF="gnome-xml-entities.html#XMLENTITYPTR"
244>xmlEntityPtr</A
245> entity);
246void <A
247HREF="gnome-xml-parserinternals.html#XMLPUSHINPUT"
248>xmlPushInput</A
249> (<A
250HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
251>xmlParserCtxtPtr</A
252> ctxt,
253 <A
254HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
255>xmlParserInputPtr</A
256> input);
257<A
258HREF="gnome-xml-tree.html#CHAR"
259>CHAR</A
260> <A
261HREF="gnome-xml-parserinternals.html#XMLPOPINPUT"
262>xmlPopInput</A
263> (<A
264HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
265>xmlParserCtxtPtr</A
266> ctxt);
267void <A
268HREF="gnome-xml-parserinternals.html#XMLFREEINPUTSTREAM"
269>xmlFreeInputStream</A
270> (<A
271HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
272>xmlParserInputPtr</A
273> input);
274<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000275HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
276>xmlParserInputPtr</A
277> <A
278HREF="gnome-xml-parserinternals.html#XMLNEWINPUTFROMFILE"
279>xmlNewInputFromFile</A
280> (<A
281HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
282>xmlParserCtxtPtr</A
283> ctxt,
284 const char *filename);
285<A
Daniel Veillard35925471999-02-25 08:46:07 +0000286HREF="gnome-xml-tree.html#CHAR"
287>CHAR</A
288>* <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000289HREF="gnome-xml-parserinternals.html#XMLSPLITQNAME"
290>xmlSplitQName</A
291> (const <A
292HREF="gnome-xml-tree.html#CHAR"
293>CHAR</A
294> *name,
295 <A
296HREF="gnome-xml-tree.html#CHAR"
297>CHAR</A
298> **prefix);
299<A
300HREF="gnome-xml-tree.html#CHAR"
301>CHAR</A
302>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000303HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENCNAME"
304>xmlNamespaceParseNCName</A
305> (<A
306HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
307>xmlParserCtxtPtr</A
308> ctxt);
309<A
310HREF="gnome-xml-tree.html#CHAR"
311>CHAR</A
312>* <A
313HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSEQNAME"
314>xmlNamespaceParseQName</A
315> (<A
316HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
317>xmlParserCtxtPtr</A
318> ctxt,
319 <A
320HREF="gnome-xml-tree.html#CHAR"
321>CHAR</A
322> **prefix);
323<A
324HREF="gnome-xml-tree.html#CHAR"
325>CHAR</A
326>* <A
327HREF="gnome-xml-parserinternals.html#XMLNAMESPACEPARSENSDEF"
328>xmlNamespaceParseNSDef</A
329> (<A
330HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
331>xmlParserCtxtPtr</A
332> ctxt);
333<A
334HREF="gnome-xml-tree.html#CHAR"
335>CHAR</A
336>* <A
337HREF="gnome-xml-parserinternals.html#XMLPARSEQUOTEDSTRING"
338>xmlParseQuotedString</A
339> (<A
340HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
341>xmlParserCtxtPtr</A
342> ctxt);
343void <A
344HREF="gnome-xml-parserinternals.html#XMLPARSENAMESPACE"
345>xmlParseNamespace</A
346> (<A
347HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
348>xmlParserCtxtPtr</A
349> ctxt);
350<A
351HREF="gnome-xml-tree.html#CHAR"
352>CHAR</A
353>* <A
354HREF="gnome-xml-parserinternals.html#XMLPARSENAME"
355>xmlParseName</A
356> (<A
357HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
358>xmlParserCtxtPtr</A
359> ctxt);
360<A
361HREF="gnome-xml-tree.html#CHAR"
362>CHAR</A
363>* <A
364HREF="gnome-xml-parserinternals.html#XMLPARSENMTOKEN"
365>xmlParseNmtoken</A
366> (<A
367HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
368>xmlParserCtxtPtr</A
369> ctxt);
370<A
371HREF="gnome-xml-tree.html#CHAR"
372>CHAR</A
373>* <A
374HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYVALUE"
375>xmlParseEntityValue</A
376> (<A
377HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
378>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000379> ctxt,
380 <A
381HREF="gnome-xml-tree.html#CHAR"
382>CHAR</A
383> **orig);
Daniel Veillard35925471999-02-25 08:46:07 +0000384<A
385HREF="gnome-xml-tree.html#CHAR"
386>CHAR</A
387>* <A
388HREF="gnome-xml-parserinternals.html#XMLPARSEATTVALUE"
389>xmlParseAttValue</A
390> (<A
391HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
392>xmlParserCtxtPtr</A
393> ctxt);
394<A
395HREF="gnome-xml-tree.html#CHAR"
396>CHAR</A
397>* <A
398HREF="gnome-xml-parserinternals.html#XMLPARSESYSTEMLITERAL"
399>xmlParseSystemLiteral</A
400> (<A
401HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
402>xmlParserCtxtPtr</A
403> ctxt);
404<A
405HREF="gnome-xml-tree.html#CHAR"
406>CHAR</A
407>* <A
408HREF="gnome-xml-parserinternals.html#XMLPARSEPUBIDLITERAL"
409>xmlParsePubidLiteral</A
410> (<A
411HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
412>xmlParserCtxtPtr</A
413> ctxt);
414void <A
415HREF="gnome-xml-parserinternals.html#XMLPARSECHARDATA"
416>xmlParseCharData</A
417> (<A
418HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
419>xmlParserCtxtPtr</A
420> ctxt,
421 int cdata);
422<A
423HREF="gnome-xml-tree.html#CHAR"
424>CHAR</A
425>* <A
426HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
427>xmlParseExternalID</A
428> (<A
429HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
430>xmlParserCtxtPtr</A
431> ctxt,
432 <A
433HREF="gnome-xml-tree.html#CHAR"
434>CHAR</A
435> **publicID,
436 int strict);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000437void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000438HREF="gnome-xml-parserinternals.html#XMLPARSECOMMENT"
439>xmlParseComment</A
440> (<A
441HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
442>xmlParserCtxtPtr</A
443> ctxt,
444 int create);
445<A
446HREF="gnome-xml-tree.html#CHAR"
447>CHAR</A
448>* <A
449HREF="gnome-xml-parserinternals.html#XMLPARSEPITARGET"
450>xmlParsePITarget</A
451> (<A
452HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
453>xmlParserCtxtPtr</A
454> ctxt);
455void <A
456HREF="gnome-xml-parserinternals.html#XMLPARSEPI"
457>xmlParsePI</A
458> (<A
459HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
460>xmlParserCtxtPtr</A
461> ctxt);
462void <A
463HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONDECL"
464>xmlParseNotationDecl</A
465> (<A
466HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
467>xmlParserCtxtPtr</A
468> ctxt);
469void <A
470HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYDECL"
471>xmlParseEntityDecl</A
472> (<A
473HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
474>xmlParserCtxtPtr</A
475> ctxt);
476int <A
477HREF="gnome-xml-parserinternals.html#XMLPARSEDEFAULTDECL"
478>xmlParseDefaultDecl</A
479> (<A
480HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
481>xmlParserCtxtPtr</A
482> ctxt,
483 <A
484HREF="gnome-xml-tree.html#CHAR"
485>CHAR</A
486> **value);
487<A
488HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
489>xmlEnumerationPtr</A
490> <A
491HREF="gnome-xml-parserinternals.html#XMLPARSENOTATIONTYPE"
492>xmlParseNotationType</A
493> (<A
494HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
495>xmlParserCtxtPtr</A
496> ctxt);
497<A
498HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
499>xmlEnumerationPtr</A
500> <A
501HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATIONTYPE"
502>xmlParseEnumerationType</A
503> (<A
504HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
505>xmlParserCtxtPtr</A
506> ctxt);
507int <A
508HREF="gnome-xml-parserinternals.html#XMLPARSEENUMERATEDTYPE"
509>xmlParseEnumeratedType</A
510> (<A
511HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
512>xmlParserCtxtPtr</A
513> ctxt,
514 <A
515HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
516>xmlEnumerationPtr</A
517> *tree);
518int <A
519HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTETYPE"
520>xmlParseAttributeType</A
521> (<A
522HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
523>xmlParserCtxtPtr</A
524> ctxt,
525 <A
526HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
527>xmlEnumerationPtr</A
528> *tree);
529void <A
530HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTELISTDECL"
531>xmlParseAttributeListDecl</A
532> (<A
533HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
534>xmlParserCtxtPtr</A
535> ctxt);
536<A
537HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
538>xmlElementContentPtr</A
539> <A
540HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTMIXEDCONTENTDECL"
541>xmlParseElementMixedContentDecl</A
542>
543 (<A
544HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
545>xmlParserCtxtPtr</A
546> ctxt);
547<A
548HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
549>xmlElementContentPtr</A
550> <A
551HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCHILDRENCONTENTDECL"
552>xmlParseElementChildrenContentDecl</A
553>
554 (<A
555HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
556>xmlParserCtxtPtr</A
557> ctxt);
558int <A
559HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTCONTENTDECL"
560>xmlParseElementContentDecl</A
561> (<A
562HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
563>xmlParserCtxtPtr</A
564> ctxt,
565 <A
566HREF="gnome-xml-tree.html#CHAR"
567>CHAR</A
568> *name,
569 <A
570HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
571>xmlElementContentPtr</A
572> *result);
573int <A
574HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENTDECL"
575>xmlParseElementDecl</A
576> (<A
577HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
578>xmlParserCtxtPtr</A
579> ctxt);
580void <A
581HREF="gnome-xml-parserinternals.html#XMLPARSEMARKUPDECL"
582>xmlParseMarkupDecl</A
583> (<A
584HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
585>xmlParserCtxtPtr</A
586> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000587int <A
Daniel Veillard35925471999-02-25 08:46:07 +0000588HREF="gnome-xml-parserinternals.html#XMLPARSECHARREF"
589>xmlParseCharRef</A
590> (<A
591HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
592>xmlParserCtxtPtr</A
593> ctxt);
594<A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000595HREF="gnome-xml-entities.html#XMLENTITYPTR"
596>xmlEntityPtr</A
597> <A
Daniel Veillard35925471999-02-25 08:46:07 +0000598HREF="gnome-xml-parserinternals.html#XMLPARSEENTITYREF"
599>xmlParseEntityRef</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000600> (<A
Daniel Veillard35925471999-02-25 08:46:07 +0000601HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
602>xmlParserCtxtPtr</A
603> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000604void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000605HREF="gnome-xml-parserinternals.html#XMLPARSEREFERENCE"
606>xmlParseReference</A
607> (<A
608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
609>xmlParserCtxtPtr</A
610> ctxt);
Daniel Veillard011b63c1999-06-02 17:44:04 +0000611void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000612HREF="gnome-xml-parserinternals.html#XMLPARSEPEREFERENCE"
613>xmlParsePEReference</A
614> (<A
615HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
616>xmlParserCtxtPtr</A
617> ctxt);
618void <A
619HREF="gnome-xml-parserinternals.html#XMLPARSEDOCTYPEDECL"
620>xmlParseDocTypeDecl</A
621> (<A
622HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
623>xmlParserCtxtPtr</A
624> ctxt);
625<A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000626HREF="gnome-xml-tree.html#CHAR"
627>CHAR</A
628>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000629HREF="gnome-xml-parserinternals.html#XMLPARSEATTRIBUTE"
630>xmlParseAttribute</A
631> (<A
632HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
633>xmlParserCtxtPtr</A
634> ctxt,
635 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +0000636HREF="gnome-xml-tree.html#CHAR"
637>CHAR</A
638> **value);
Daniel Veillard14fff061999-06-22 21:49:07 +0000639<A
640HREF="gnome-xml-tree.html#CHAR"
641>CHAR</A
642>* <A
Daniel Veillard35925471999-02-25 08:46:07 +0000643HREF="gnome-xml-parserinternals.html#XMLPARSESTARTTAG"
644>xmlParseStartTag</A
645> (<A
646HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
647>xmlParserCtxtPtr</A
648> ctxt);
649void <A
650HREF="gnome-xml-parserinternals.html#XMLPARSEENDTAG"
651>xmlParseEndTag</A
652> (<A
653HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
654>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000655> ctxt,
656 <A
657HREF="gnome-xml-tree.html#CHAR"
658>CHAR</A
659> *tagname);
Daniel Veillard35925471999-02-25 08:46:07 +0000660void <A
661HREF="gnome-xml-parserinternals.html#XMLPARSECDSECT"
662>xmlParseCDSect</A
663> (<A
664HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
665>xmlParserCtxtPtr</A
666> ctxt);
667void <A
668HREF="gnome-xml-parserinternals.html#XMLPARSECONTENT"
669>xmlParseContent</A
670> (<A
671HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
672>xmlParserCtxtPtr</A
673> ctxt);
Daniel Veillard5099ae81999-04-21 20:12:07 +0000674void <A
Daniel Veillard35925471999-02-25 08:46:07 +0000675HREF="gnome-xml-parserinternals.html#XMLPARSEELEMENT"
676>xmlParseElement</A
677> (<A
678HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
679>xmlParserCtxtPtr</A
680> ctxt);
681<A
682HREF="gnome-xml-tree.html#CHAR"
683>CHAR</A
684>* <A
685HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONNUM"
686>xmlParseVersionNum</A
687> (<A
688HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
689>xmlParserCtxtPtr</A
690> ctxt);
691<A
692HREF="gnome-xml-tree.html#CHAR"
693>CHAR</A
694>* <A
695HREF="gnome-xml-parserinternals.html#XMLPARSEVERSIONINFO"
696>xmlParseVersionInfo</A
697> (<A
698HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
699>xmlParserCtxtPtr</A
700> ctxt);
701<A
702HREF="gnome-xml-tree.html#CHAR"
703>CHAR</A
704>* <A
705HREF="gnome-xml-parserinternals.html#XMLPARSEENCNAME"
706>xmlParseEncName</A
707> (<A
708HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
709>xmlParserCtxtPtr</A
710> ctxt);
711<A
712HREF="gnome-xml-tree.html#CHAR"
713>CHAR</A
714>* <A
715HREF="gnome-xml-parserinternals.html#XMLPARSEENCODINGDECL"
716>xmlParseEncodingDecl</A
717> (<A
718HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
719>xmlParserCtxtPtr</A
720> ctxt);
721int <A
722HREF="gnome-xml-parserinternals.html#XMLPARSESDDECL"
723>xmlParseSDDecl</A
724> (<A
725HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
726>xmlParserCtxtPtr</A
727> ctxt);
728void <A
729HREF="gnome-xml-parserinternals.html#XMLPARSEXMLDECL"
730>xmlParseXMLDecl</A
731> (<A
732HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
733>xmlParserCtxtPtr</A
734> ctxt);
735void <A
736HREF="gnome-xml-parserinternals.html#XMLPARSEMISC"
737>xmlParseMisc</A
738> (<A
739HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
740>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +0000741> ctxt);
742#define <A
743HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-NONE"
744>XML_SUBSTITUTE_NONE</A
745>
746#define <A
747HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-REF"
748>XML_SUBSTITUTE_REF</A
749>
750#define <A
751HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-PEREF"
752>XML_SUBSTITUTE_PEREF</A
753>
754#define <A
755HREF="gnome-xml-parserinternals.html#XML-SUBSTITUTE-BOTH"
756>XML_SUBSTITUTE_BOTH</A
757>
758<A
759HREF="gnome-xml-tree.html#CHAR"
760>CHAR</A
761>* <A
762HREF="gnome-xml-parserinternals.html#XMLDECODEENTITIES"
763>xmlDecodeEntities</A
764> (<A
765HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
766>xmlParserCtxtPtr</A
767> ctxt,
768 int len,
769 int what,
770 <A
771HREF="gnome-xml-tree.html#CHAR"
772>CHAR</A
773> end,
774 <A
775HREF="gnome-xml-tree.html#CHAR"
776>CHAR</A
777> end2,
778 <A
779HREF="gnome-xml-tree.html#CHAR"
780>CHAR</A
Daniel Veillard14fff061999-06-22 21:49:07 +0000781> end3);
782int <A
783HREF="gnome-xml-parserinternals.html#NODEPUSH"
784>nodePush</A
785> (<A
786HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
787>xmlParserCtxtPtr</A
788> ctxt,
789 <A
790HREF="gnome-xml-tree.html#XMLNODEPTR"
791>xmlNodePtr</A
792> value);
793<A
794HREF="gnome-xml-tree.html#XMLNODEPTR"
795>xmlNodePtr</A
796> <A
797HREF="gnome-xml-parserinternals.html#NODEPOP"
798>nodePop</A
799> (<A
800HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
801>xmlParserCtxtPtr</A
802> ctxt);
803int <A
804HREF="gnome-xml-parserinternals.html#INPUTPUSH"
805>inputPush</A
806> (<A
807HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
808>xmlParserCtxtPtr</A
809> ctxt,
810 <A
811HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
812>xmlParserInputPtr</A
813> value);
814<A
815HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
816>xmlParserInputPtr</A
817> <A
818HREF="gnome-xml-parserinternals.html#INPUTPOP"
819>inputPop</A
820> (<A
821HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
822>xmlParserCtxtPtr</A
823> ctxt);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +0000824></TD
825></TR
826></TABLE
827></DIV
828><DIV
829CLASS="REFSECT1"
830><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000831NAME="AEN4879"
Daniel Veillard35925471999-02-25 08:46:07 +0000832></A
833><H2
834>Description</H2
835><P
836></P
837></DIV
838><DIV
839CLASS="REFSECT1"
840><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000841NAME="AEN4882"
Daniel Veillard35925471999-02-25 08:46:07 +0000842></A
843><H2
844>Details</H2
Daniel Veillard14fff061999-06-22 21:49:07 +0000845><DIV
Daniel Veillard35925471999-02-25 08:46:07 +0000846CLASS="REFSECT2"
847><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000848NAME="AEN4884"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000849></A
850><H3
851><A
852NAME="IS-CHAR"
853></A
854>IS_CHAR()</H3
855><TABLE
856BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000857BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000858WIDTH="100%"
859CELLPADDING="6"
860><TR
861><TD
862><PRE
863CLASS="PROGRAMLISTING"
864>#define IS_CHAR(c)</PRE
865></TD
866></TR
867></TABLE
868><P
869></P
870><DIV
871CLASS="INFORMALTABLE"
872><P
873></P
874><TABLE
875BORDER="0"
876WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000877BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000878CELLSPACING="0"
879CELLPADDING="4"
880CLASS="CALSTABLE"
881><TR
882><TD
883WIDTH="20%"
884ALIGN="RIGHT"
885VALIGN="TOP"
886><TT
887CLASS="PARAMETER"
888><I
889>c</I
890></TT
891>&nbsp;:</TD
892><TD
893WIDTH="80%"
894ALIGN="LEFT"
895VALIGN="TOP"
896>&nbsp;</TD
897></TR
898></TABLE
899><P
900></P
901></DIV
902></DIV
903><HR><DIV
904CLASS="REFSECT2"
905><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000906NAME="AEN4898"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000907></A
908><H3
909><A
910NAME="IS-BLANK"
911></A
912>IS_BLANK()</H3
913><TABLE
914BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000915BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000916WIDTH="100%"
917CELLPADDING="6"
918><TR
919><TD
920><PRE
921CLASS="PROGRAMLISTING"
922>#define IS_BLANK(c)</PRE
923></TD
924></TR
925></TABLE
926><P
927></P
928><DIV
929CLASS="INFORMALTABLE"
930><P
931></P
932><TABLE
933BORDER="0"
934WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000935BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000936CELLSPACING="0"
937CELLPADDING="4"
938CLASS="CALSTABLE"
939><TR
940><TD
941WIDTH="20%"
942ALIGN="RIGHT"
943VALIGN="TOP"
944><TT
945CLASS="PARAMETER"
946><I
947>c</I
948></TT
949>&nbsp;:</TD
950><TD
951WIDTH="80%"
952ALIGN="LEFT"
953VALIGN="TOP"
954>&nbsp;</TD
955></TR
956></TABLE
957><P
958></P
959></DIV
960></DIV
961><HR><DIV
962CLASS="REFSECT2"
963><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +0000964NAME="AEN4912"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000965></A
966><H3
967><A
968NAME="IS-BASECHAR"
969></A
970>IS_BASECHAR()</H3
971><TABLE
972BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +0000973BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000974WIDTH="100%"
975CELLPADDING="6"
976><TR
977><TD
978><PRE
979CLASS="PROGRAMLISTING"
980>#define IS_BASECHAR(c)</PRE
981></TD
982></TR
983></TABLE
984><P
985></P
986><DIV
987CLASS="INFORMALTABLE"
988><P
989></P
990><TABLE
991BORDER="0"
992WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +0000993BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +0000994CELLSPACING="0"
995CELLPADDING="4"
996CLASS="CALSTABLE"
997><TR
998><TD
999WIDTH="20%"
1000ALIGN="RIGHT"
1001VALIGN="TOP"
1002><TT
1003CLASS="PARAMETER"
1004><I
1005>c</I
1006></TT
1007>&nbsp;:</TD
1008><TD
1009WIDTH="80%"
1010ALIGN="LEFT"
1011VALIGN="TOP"
1012>&nbsp;</TD
1013></TR
1014></TABLE
1015><P
1016></P
1017></DIV
1018></DIV
1019><HR><DIV
1020CLASS="REFSECT2"
1021><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001022NAME="AEN4926"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001023></A
1024><H3
1025><A
1026NAME="IS-DIGIT"
1027></A
1028>IS_DIGIT()</H3
1029><TABLE
1030BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001031BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001032WIDTH="100%"
1033CELLPADDING="6"
1034><TR
1035><TD
1036><PRE
1037CLASS="PROGRAMLISTING"
1038>#define IS_DIGIT(c)</PRE
1039></TD
1040></TR
1041></TABLE
1042><P
1043></P
1044><DIV
1045CLASS="INFORMALTABLE"
1046><P
1047></P
1048><TABLE
1049BORDER="0"
1050WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001051BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001052CELLSPACING="0"
1053CELLPADDING="4"
1054CLASS="CALSTABLE"
1055><TR
1056><TD
1057WIDTH="20%"
1058ALIGN="RIGHT"
1059VALIGN="TOP"
1060><TT
1061CLASS="PARAMETER"
1062><I
1063>c</I
1064></TT
1065>&nbsp;:</TD
1066><TD
1067WIDTH="80%"
1068ALIGN="LEFT"
1069VALIGN="TOP"
1070>&nbsp;</TD
1071></TR
1072></TABLE
1073><P
1074></P
1075></DIV
1076></DIV
1077><HR><DIV
1078CLASS="REFSECT2"
1079><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001080NAME="AEN4940"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001081></A
1082><H3
1083><A
1084NAME="IS-COMBINING"
1085></A
1086>IS_COMBINING()</H3
1087><TABLE
1088BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001089BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001090WIDTH="100%"
1091CELLPADDING="6"
1092><TR
1093><TD
1094><PRE
1095CLASS="PROGRAMLISTING"
1096>#define IS_COMBINING(c)</PRE
1097></TD
1098></TR
1099></TABLE
1100><P
1101></P
1102><DIV
1103CLASS="INFORMALTABLE"
1104><P
1105></P
1106><TABLE
1107BORDER="0"
1108WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001109BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001110CELLSPACING="0"
1111CELLPADDING="4"
1112CLASS="CALSTABLE"
1113><TR
1114><TD
1115WIDTH="20%"
1116ALIGN="RIGHT"
1117VALIGN="TOP"
1118><TT
1119CLASS="PARAMETER"
1120><I
1121>c</I
1122></TT
1123>&nbsp;:</TD
1124><TD
1125WIDTH="80%"
1126ALIGN="LEFT"
1127VALIGN="TOP"
1128>&nbsp;</TD
1129></TR
1130></TABLE
1131><P
1132></P
1133></DIV
1134></DIV
1135><HR><DIV
1136CLASS="REFSECT2"
1137><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001138NAME="AEN4954"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001139></A
1140><H3
1141><A
1142NAME="IS-EXTENDER"
1143></A
1144>IS_EXTENDER()</H3
1145><TABLE
1146BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001147BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001148WIDTH="100%"
1149CELLPADDING="6"
1150><TR
1151><TD
1152><PRE
1153CLASS="PROGRAMLISTING"
1154>#define IS_EXTENDER(c)</PRE
1155></TD
1156></TR
1157></TABLE
1158><P
1159></P
1160><DIV
1161CLASS="INFORMALTABLE"
1162><P
1163></P
1164><TABLE
1165BORDER="0"
1166WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001167BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001168CELLSPACING="0"
1169CELLPADDING="4"
1170CLASS="CALSTABLE"
1171><TR
1172><TD
1173WIDTH="20%"
1174ALIGN="RIGHT"
1175VALIGN="TOP"
1176><TT
1177CLASS="PARAMETER"
1178><I
1179>c</I
1180></TT
1181>&nbsp;:</TD
1182><TD
1183WIDTH="80%"
1184ALIGN="LEFT"
1185VALIGN="TOP"
1186>&nbsp;</TD
1187></TR
1188></TABLE
1189><P
1190></P
1191></DIV
1192></DIV
1193><HR><DIV
1194CLASS="REFSECT2"
1195><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001196NAME="AEN4968"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001197></A
1198><H3
1199><A
1200NAME="IS-IDEOGRAPHIC"
1201></A
1202>IS_IDEOGRAPHIC()</H3
1203><TABLE
1204BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001205BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001206WIDTH="100%"
1207CELLPADDING="6"
1208><TR
1209><TD
1210><PRE
1211CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001212>#define IS_IDEOGRAPHIC(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001213></TD
1214></TR
1215></TABLE
1216><P
1217></P
1218><DIV
1219CLASS="INFORMALTABLE"
1220><P
1221></P
1222><TABLE
1223BORDER="0"
1224WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001225BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001226CELLSPACING="0"
1227CELLPADDING="4"
1228CLASS="CALSTABLE"
1229><TR
1230><TD
1231WIDTH="20%"
1232ALIGN="RIGHT"
1233VALIGN="TOP"
1234><TT
1235CLASS="PARAMETER"
1236><I
1237>c</I
1238></TT
1239>&nbsp;:</TD
1240><TD
1241WIDTH="80%"
1242ALIGN="LEFT"
1243VALIGN="TOP"
1244>&nbsp;</TD
1245></TR
1246></TABLE
1247><P
1248></P
1249></DIV
1250></DIV
1251><HR><DIV
1252CLASS="REFSECT2"
1253><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001254NAME="AEN4982"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001255></A
1256><H3
1257><A
1258NAME="IS-LETTER"
1259></A
1260>IS_LETTER()</H3
1261><TABLE
1262BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001263BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001264WIDTH="100%"
1265CELLPADDING="6"
1266><TR
1267><TD
1268><PRE
1269CLASS="PROGRAMLISTING"
1270>#define IS_LETTER(c)</PRE
1271></TD
1272></TR
1273></TABLE
1274><P
1275></P
1276><DIV
1277CLASS="INFORMALTABLE"
1278><P
1279></P
1280><TABLE
1281BORDER="0"
1282WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001283BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001284CELLSPACING="0"
1285CELLPADDING="4"
1286CLASS="CALSTABLE"
1287><TR
1288><TD
1289WIDTH="20%"
1290ALIGN="RIGHT"
1291VALIGN="TOP"
1292><TT
1293CLASS="PARAMETER"
1294><I
1295>c</I
1296></TT
1297>&nbsp;:</TD
1298><TD
1299WIDTH="80%"
1300ALIGN="LEFT"
1301VALIGN="TOP"
1302>&nbsp;</TD
1303></TR
1304></TABLE
1305><P
1306></P
1307></DIV
1308></DIV
1309><HR><DIV
1310CLASS="REFSECT2"
1311><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001312NAME="AEN4996"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001313></A
1314><H3
1315><A
1316NAME="IS-PUBIDCHAR"
1317></A
1318>IS_PUBIDCHAR()</H3
1319><TABLE
1320BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001321BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001322WIDTH="100%"
1323CELLPADDING="6"
1324><TR
1325><TD
1326><PRE
1327CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001328>#define IS_PUBIDCHAR(c)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001329></TD
1330></TR
1331></TABLE
1332><P
1333></P
1334><DIV
1335CLASS="INFORMALTABLE"
1336><P
1337></P
1338><TABLE
1339BORDER="0"
1340WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001341BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001342CELLSPACING="0"
1343CELLPADDING="4"
1344CLASS="CALSTABLE"
1345><TR
1346><TD
1347WIDTH="20%"
1348ALIGN="RIGHT"
1349VALIGN="TOP"
1350><TT
1351CLASS="PARAMETER"
1352><I
1353>c</I
1354></TT
1355>&nbsp;:</TD
1356><TD
1357WIDTH="80%"
1358ALIGN="LEFT"
1359VALIGN="TOP"
1360>&nbsp;</TD
1361></TR
1362></TABLE
1363><P
1364></P
1365></DIV
1366></DIV
1367><HR><DIV
1368CLASS="REFSECT2"
1369><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001370NAME="AEN5010"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001371></A
1372><H3
1373><A
1374NAME="SKIP-EOL"
1375></A
1376>SKIP_EOL()</H3
1377><TABLE
1378BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001379BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001380WIDTH="100%"
1381CELLPADDING="6"
1382><TR
1383><TD
1384><PRE
1385CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001386>#define SKIP_EOL(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001387></TD
1388></TR
1389></TABLE
1390><P
1391></P
1392><DIV
1393CLASS="INFORMALTABLE"
1394><P
1395></P
1396><TABLE
1397BORDER="0"
1398WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001399BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001400CELLSPACING="0"
1401CELLPADDING="4"
1402CLASS="CALSTABLE"
1403><TR
1404><TD
1405WIDTH="20%"
1406ALIGN="RIGHT"
1407VALIGN="TOP"
1408><TT
1409CLASS="PARAMETER"
1410><I
1411>p</I
1412></TT
1413>&nbsp;:</TD
1414><TD
1415WIDTH="80%"
1416ALIGN="LEFT"
1417VALIGN="TOP"
1418>&nbsp;</TD
1419></TR
1420></TABLE
1421><P
1422></P
1423></DIV
1424></DIV
1425><HR><DIV
1426CLASS="REFSECT2"
1427><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001428NAME="AEN5024"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001429></A
1430><H3
1431><A
1432NAME="MOVETO-ENDTAG"
1433></A
1434>MOVETO_ENDTAG()</H3
1435><TABLE
1436BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001437BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001438WIDTH="100%"
1439CELLPADDING="6"
1440><TR
1441><TD
1442><PRE
1443CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001444>#define MOVETO_ENDTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001445></TD
1446></TR
1447></TABLE
1448><P
1449></P
1450><DIV
1451CLASS="INFORMALTABLE"
1452><P
1453></P
1454><TABLE
1455BORDER="0"
1456WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001457BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001458CELLSPACING="0"
1459CELLPADDING="4"
1460CLASS="CALSTABLE"
1461><TR
1462><TD
1463WIDTH="20%"
1464ALIGN="RIGHT"
1465VALIGN="TOP"
1466><TT
1467CLASS="PARAMETER"
1468><I
1469>p</I
1470></TT
1471>&nbsp;:</TD
1472><TD
1473WIDTH="80%"
1474ALIGN="LEFT"
1475VALIGN="TOP"
1476>&nbsp;</TD
1477></TR
1478></TABLE
1479><P
1480></P
1481></DIV
1482></DIV
1483><HR><DIV
1484CLASS="REFSECT2"
1485><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001486NAME="AEN5038"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001487></A
1488><H3
1489><A
1490NAME="MOVETO-STARTTAG"
1491></A
1492>MOVETO_STARTTAG()</H3
1493><TABLE
1494BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001495BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001496WIDTH="100%"
1497CELLPADDING="6"
1498><TR
1499><TD
1500><PRE
1501CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00001502>#define MOVETO_STARTTAG(p)</PRE
Daniel Veillard5099ae81999-04-21 20:12:07 +00001503></TD
1504></TR
1505></TABLE
1506><P
1507></P
1508><DIV
1509CLASS="INFORMALTABLE"
1510><P
1511></P
1512><TABLE
1513BORDER="0"
1514WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001515BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00001516CELLSPACING="0"
1517CELLPADDING="4"
1518CLASS="CALSTABLE"
1519><TR
1520><TD
1521WIDTH="20%"
1522ALIGN="RIGHT"
1523VALIGN="TOP"
1524><TT
1525CLASS="PARAMETER"
1526><I
1527>p</I
1528></TT
1529>&nbsp;:</TD
1530><TD
1531WIDTH="80%"
1532ALIGN="LEFT"
1533VALIGN="TOP"
1534>&nbsp;</TD
1535></TR
1536></TABLE
1537><P
1538></P
1539></DIV
1540></DIV
1541><HR><DIV
1542CLASS="REFSECT2"
1543><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001544NAME="AEN5052"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001545></A
1546><H3
1547><A
1548NAME="XMLCREATEDOCPARSERCTXT"
1549></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001550>xmlCreateDocParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001551><TABLE
1552BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001553BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001554WIDTH="100%"
1555CELLPADDING="6"
1556><TR
1557><TD
1558><PRE
1559CLASS="PROGRAMLISTING"
1560><A
1561HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1562>xmlParserCtxtPtr</A
1563> xmlCreateDocParserCtxt (<A
1564HREF="gnome-xml-tree.html#CHAR"
1565>CHAR</A
1566> *cur);</PRE
1567></TD
1568></TR
1569></TABLE
1570><P
Daniel Veillard1566d3a1999-07-15 14:24:29 +00001571>Create a parser context for an XML in-memory document.</P
1572><P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001573></P
1574><DIV
1575CLASS="INFORMALTABLE"
1576><P
1577></P
1578><TABLE
1579BORDER="0"
1580WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001581BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001582CELLSPACING="0"
1583CELLPADDING="4"
1584CLASS="CALSTABLE"
1585><TR
1586><TD
1587WIDTH="20%"
1588ALIGN="RIGHT"
1589VALIGN="TOP"
1590><TT
1591CLASS="PARAMETER"
1592><I
1593>cur</I
1594></TT
1595>&nbsp;:</TD
1596><TD
1597WIDTH="80%"
1598ALIGN="LEFT"
1599VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001600> a pointer to an array of CHAR</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001601></TR
1602><TR
1603><TD
1604WIDTH="20%"
1605ALIGN="RIGHT"
1606VALIGN="TOP"
1607><I
1608CLASS="EMPHASIS"
1609>Returns</I
1610> :</TD
1611><TD
1612WIDTH="80%"
1613ALIGN="LEFT"
1614VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001615>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001616></TR
1617></TABLE
1618><P
1619></P
1620></DIV
1621></DIV
1622><HR><DIV
1623CLASS="REFSECT2"
1624><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001625NAME="AEN5073"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001626></A
1627><H3
1628><A
1629NAME="XMLCREATEFILEPARSERCTXT"
1630></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001631>xmlCreateFileParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001632><TABLE
1633BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001634BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001635WIDTH="100%"
1636CELLPADDING="6"
1637><TR
1638><TD
1639><PRE
1640CLASS="PROGRAMLISTING"
1641><A
1642HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1643>xmlParserCtxtPtr</A
1644> xmlCreateFileParserCtxt (const char *filename);</PRE
1645></TD
1646></TR
1647></TABLE
1648><P
1649>Create a parser context for a file content.
1650Automatic support for ZLIB/Compress compressed document is provided
1651by default if found at compile-time.</P
1652><P
1653></P
1654><DIV
1655CLASS="INFORMALTABLE"
1656><P
1657></P
1658><TABLE
1659BORDER="0"
1660WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001661BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001662CELLSPACING="0"
1663CELLPADDING="4"
1664CLASS="CALSTABLE"
1665><TR
1666><TD
1667WIDTH="20%"
1668ALIGN="RIGHT"
1669VALIGN="TOP"
1670><TT
1671CLASS="PARAMETER"
1672><I
1673>filename</I
1674></TT
1675>&nbsp;:</TD
1676><TD
1677WIDTH="80%"
1678ALIGN="LEFT"
1679VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001680> the filename</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001681></TR
1682><TR
1683><TD
1684WIDTH="20%"
1685ALIGN="RIGHT"
1686VALIGN="TOP"
1687><I
1688CLASS="EMPHASIS"
1689>Returns</I
1690> :</TD
1691><TD
1692WIDTH="80%"
1693ALIGN="LEFT"
1694VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001695>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001696></TR
1697></TABLE
1698><P
1699></P
1700></DIV
1701></DIV
1702><HR><DIV
1703CLASS="REFSECT2"
1704><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001705NAME="AEN5093"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001706></A
1707><H3
1708><A
1709NAME="XMLCREATEMEMORYPARSERCTXT"
1710></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001711>xmlCreateMemoryParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001712><TABLE
1713BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001714BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001715WIDTH="100%"
1716CELLPADDING="6"
1717><TR
1718><TD
1719><PRE
1720CLASS="PROGRAMLISTING"
1721><A
1722HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1723>xmlParserCtxtPtr</A
1724> xmlCreateMemoryParserCtxt (char *buffer,
1725 int size);</PRE
1726></TD
1727></TR
1728></TABLE
1729><P
1730>Create a parser context for an XML in-memory document.</P
1731><P
1732></P
1733><DIV
1734CLASS="INFORMALTABLE"
1735><P
1736></P
1737><TABLE
1738BORDER="0"
1739WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001740BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001741CELLSPACING="0"
1742CELLPADDING="4"
1743CLASS="CALSTABLE"
1744><TR
1745><TD
1746WIDTH="20%"
1747ALIGN="RIGHT"
1748VALIGN="TOP"
1749><TT
1750CLASS="PARAMETER"
1751><I
1752>buffer</I
1753></TT
1754>&nbsp;:</TD
1755><TD
1756WIDTH="80%"
1757ALIGN="LEFT"
1758VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001759> an pointer to a char array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001760></TR
1761><TR
1762><TD
1763WIDTH="20%"
1764ALIGN="RIGHT"
1765VALIGN="TOP"
1766><TT
1767CLASS="PARAMETER"
1768><I
1769>size</I
1770></TT
1771>&nbsp;:</TD
1772><TD
1773WIDTH="80%"
1774ALIGN="LEFT"
1775VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001776> the siwe of the array</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001777></TR
1778><TR
1779><TD
1780WIDTH="20%"
1781ALIGN="RIGHT"
1782VALIGN="TOP"
1783><I
1784CLASS="EMPHASIS"
1785>Returns</I
1786> :</TD
1787><TD
1788WIDTH="80%"
1789ALIGN="LEFT"
1790VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001791>the new parser context or NULL</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001792></TR
1793></TABLE
1794><P
1795></P
1796></DIV
1797></DIV
1798><HR><DIV
1799CLASS="REFSECT2"
1800><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001801NAME="AEN5117"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001802></A
1803><H3
1804><A
1805NAME="XMLFREEPARSERCTXT"
1806></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001807>xmlFreeParserCtxt ()</H3
Daniel Veillardd692aa41999-02-28 21:54:31 +00001808><TABLE
1809BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001810BGCOLOR="#D6E8FF"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001811WIDTH="100%"
1812CELLPADDING="6"
1813><TR
1814><TD
1815><PRE
1816CLASS="PROGRAMLISTING"
1817>void xmlFreeParserCtxt (<A
1818HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1819>xmlParserCtxtPtr</A
1820> ctxt);</PRE
1821></TD
1822></TR
1823></TABLE
1824><P
1825>Free all the memory used by a parser context. However the parsed
Daniel Veillard5099ae81999-04-21 20:12:07 +00001826document in ctxt-&gt;myDoc is not freed.</P
Daniel Veillardd692aa41999-02-28 21:54:31 +00001827><P
1828></P
1829><DIV
1830CLASS="INFORMALTABLE"
1831><P
1832></P
1833><TABLE
1834BORDER="0"
1835WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001836BGCOLOR="#FFD0D0"
Daniel Veillardd692aa41999-02-28 21:54:31 +00001837CELLSPACING="0"
1838CELLPADDING="4"
1839CLASS="CALSTABLE"
1840><TR
1841><TD
1842WIDTH="20%"
1843ALIGN="RIGHT"
1844VALIGN="TOP"
1845><TT
1846CLASS="PARAMETER"
1847><I
1848>ctxt</I
1849></TT
1850>&nbsp;:</TD
1851><TD
1852WIDTH="80%"
1853ALIGN="LEFT"
1854VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001855> an XML parser context</TD
Daniel Veillardd692aa41999-02-28 21:54:31 +00001856></TR
1857></TABLE
1858><P
1859></P
1860></DIV
1861></DIV
1862><HR><DIV
1863CLASS="REFSECT2"
1864><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001865NAME="AEN5133"
Daniel Veillard35925471999-02-25 08:46:07 +00001866></A
1867><H3
1868><A
1869NAME="XMLHANDLEENTITY"
1870></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001871>xmlHandleEntity ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00001872><TABLE
1873BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001874BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00001875WIDTH="100%"
1876CELLPADDING="6"
1877><TR
1878><TD
1879><PRE
1880CLASS="PROGRAMLISTING"
1881>void xmlHandleEntity (<A
1882HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1883>xmlParserCtxtPtr</A
1884> ctxt,
1885 <A
1886HREF="gnome-xml-entities.html#XMLENTITYPTR"
1887>xmlEntityPtr</A
1888> entity);</PRE
1889></TD
1890></TR
1891></TABLE
1892><P
1893>Default handling of defined entities, when should we define a new input
1894stream ? When do we just handle that as a set of chars ?
1895TODO: we should call the SAX handler here and have it resolve the issue</P
1896><P
1897></P
1898><DIV
1899CLASS="INFORMALTABLE"
1900><P
1901></P
1902><TABLE
1903BORDER="0"
1904WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001905BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00001906CELLSPACING="0"
1907CELLPADDING="4"
1908CLASS="CALSTABLE"
1909><TR
1910><TD
1911WIDTH="20%"
1912ALIGN="RIGHT"
1913VALIGN="TOP"
1914><TT
1915CLASS="PARAMETER"
1916><I
1917>ctxt</I
1918></TT
1919>&nbsp;:</TD
1920><TD
1921WIDTH="80%"
1922ALIGN="LEFT"
1923VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001924> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001925></TR
1926><TR
1927><TD
1928WIDTH="20%"
1929ALIGN="RIGHT"
1930VALIGN="TOP"
1931><TT
1932CLASS="PARAMETER"
1933><I
1934>entity</I
1935></TT
1936>&nbsp;:</TD
1937><TD
1938WIDTH="80%"
1939ALIGN="LEFT"
1940VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001941> an XML entity pointer.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00001942></TR
1943></TABLE
1944><P
1945></P
1946></DIV
1947></DIV
1948><HR><DIV
1949CLASS="REFSECT2"
1950><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00001951NAME="AEN5154"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001952></A
1953><H3
1954><A
1955NAME="XMLNEWENTITYINPUTSTREAM"
1956></A
Daniel Veillard14fff061999-06-22 21:49:07 +00001957>xmlNewEntityInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00001958><TABLE
1959BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00001960BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001961WIDTH="100%"
1962CELLPADDING="6"
1963><TR
1964><TD
1965><PRE
1966CLASS="PROGRAMLISTING"
1967><A
1968HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
1969>xmlParserInputPtr</A
1970> xmlNewEntityInputStream (<A
1971HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
1972>xmlParserCtxtPtr</A
1973> ctxt,
1974 <A
1975HREF="gnome-xml-entities.html#XMLENTITYPTR"
1976>xmlEntityPtr</A
1977> entity);</PRE
1978></TD
1979></TR
1980></TABLE
1981><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00001982>Create a new input stream based on an xmlEntityPtr</P
Daniel Veillardbc50b591999-03-01 12:28:53 +00001983><P
1984></P
1985><DIV
1986CLASS="INFORMALTABLE"
1987><P
1988></P
1989><TABLE
1990BORDER="0"
1991WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00001992BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00001993CELLSPACING="0"
1994CELLPADDING="4"
1995CLASS="CALSTABLE"
1996><TR
1997><TD
1998WIDTH="20%"
1999ALIGN="RIGHT"
2000VALIGN="TOP"
2001><TT
2002CLASS="PARAMETER"
2003><I
2004>ctxt</I
2005></TT
2006>&nbsp;:</TD
2007><TD
2008WIDTH="80%"
2009ALIGN="LEFT"
2010VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002011> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002012></TR
2013><TR
2014><TD
2015WIDTH="20%"
2016ALIGN="RIGHT"
2017VALIGN="TOP"
2018><TT
2019CLASS="PARAMETER"
2020><I
2021>entity</I
2022></TT
2023>&nbsp;:</TD
2024><TD
2025WIDTH="80%"
2026ALIGN="LEFT"
2027VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002028> an Entity pointer</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002029></TR
2030><TR
2031><TD
2032WIDTH="20%"
2033ALIGN="RIGHT"
2034VALIGN="TOP"
2035><I
2036CLASS="EMPHASIS"
2037>Returns</I
2038> :</TD
2039><TD
2040WIDTH="80%"
2041ALIGN="LEFT"
2042VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002043>the new input stream</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002044></TR
2045></TABLE
2046><P
2047></P
2048></DIV
2049></DIV
2050><HR><DIV
2051CLASS="REFSECT2"
2052><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002053NAME="AEN5180"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002054></A
2055><H3
2056><A
2057NAME="XMLPUSHINPUT"
2058></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002059>xmlPushInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002060><TABLE
2061BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002062BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002063WIDTH="100%"
2064CELLPADDING="6"
2065><TR
2066><TD
2067><PRE
2068CLASS="PROGRAMLISTING"
2069>void xmlPushInput (<A
2070HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2071>xmlParserCtxtPtr</A
2072> ctxt,
2073 <A
2074HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2075>xmlParserInputPtr</A
2076> input);</PRE
2077></TD
2078></TR
2079></TABLE
2080><P
2081>xmlPushInput: switch to a new input stream which is stacked on top
2082of the previous one(s).</P
2083><P
2084></P
2085><DIV
2086CLASS="INFORMALTABLE"
2087><P
2088></P
2089><TABLE
2090BORDER="0"
2091WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002092BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002093CELLSPACING="0"
2094CELLPADDING="4"
2095CLASS="CALSTABLE"
2096><TR
2097><TD
2098WIDTH="20%"
2099ALIGN="RIGHT"
2100VALIGN="TOP"
2101><TT
2102CLASS="PARAMETER"
2103><I
2104>ctxt</I
2105></TT
2106>&nbsp;:</TD
2107><TD
2108WIDTH="80%"
2109ALIGN="LEFT"
2110VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002111> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002112></TR
2113><TR
2114><TD
2115WIDTH="20%"
2116ALIGN="RIGHT"
2117VALIGN="TOP"
2118><TT
2119CLASS="PARAMETER"
2120><I
2121>input</I
2122></TT
2123>&nbsp;:</TD
2124><TD
2125WIDTH="80%"
2126ALIGN="LEFT"
2127VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002128> an XML parser input fragment (entity, XML fragment ...).</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002129></TR
2130></TABLE
2131><P
2132></P
2133></DIV
2134></DIV
2135><HR><DIV
2136CLASS="REFSECT2"
2137><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002138NAME="AEN5201"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002139></A
2140><H3
2141><A
2142NAME="XMLPOPINPUT"
2143></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002144>xmlPopInput ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002145><TABLE
2146BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002147BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002148WIDTH="100%"
2149CELLPADDING="6"
2150><TR
2151><TD
2152><PRE
2153CLASS="PROGRAMLISTING"
2154><A
2155HREF="gnome-xml-tree.html#CHAR"
2156>CHAR</A
2157> xmlPopInput (<A
2158HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2159>xmlParserCtxtPtr</A
2160> ctxt);</PRE
2161></TD
2162></TR
2163></TABLE
2164><P
2165>xmlPopInput: the current input pointed by ctxt-&gt;input came to an end
2166pop it and return the next char.</P
2167><P
2168>TODO A deallocation of the popped Input structure is needed</P
2169><P
2170></P
2171><DIV
2172CLASS="INFORMALTABLE"
2173><P
2174></P
2175><TABLE
2176BORDER="0"
2177WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002178BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002179CELLSPACING="0"
2180CELLPADDING="4"
2181CLASS="CALSTABLE"
2182><TR
2183><TD
2184WIDTH="20%"
2185ALIGN="RIGHT"
2186VALIGN="TOP"
2187><TT
2188CLASS="PARAMETER"
2189><I
2190>ctxt</I
2191></TT
2192>&nbsp;:</TD
2193><TD
2194WIDTH="80%"
2195ALIGN="LEFT"
2196VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002197> an XML parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002198></TR
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><I
2205CLASS="EMPHASIS"
2206>Returns</I
2207> :</TD
2208><TD
2209WIDTH="80%"
2210ALIGN="LEFT"
2211VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002212>the current CHAR in the parser context</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002213></TR
2214></TABLE
2215><P
2216></P
2217></DIV
2218></DIV
2219><HR><DIV
2220CLASS="REFSECT2"
2221><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002222NAME="AEN5223"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002223></A
2224><H3
2225><A
2226NAME="XMLFREEINPUTSTREAM"
2227></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002228>xmlFreeInputStream ()</H3
Daniel Veillardbc50b591999-03-01 12:28:53 +00002229><TABLE
2230BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002231BGCOLOR="#D6E8FF"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002232WIDTH="100%"
2233CELLPADDING="6"
2234><TR
2235><TD
2236><PRE
2237CLASS="PROGRAMLISTING"
2238>void xmlFreeInputStream (<A
2239HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2240>xmlParserInputPtr</A
2241> input);</PRE
2242></TD
2243></TR
2244></TABLE
2245><P
2246>Free up an input stream.</P
2247><P
2248></P
2249><DIV
2250CLASS="INFORMALTABLE"
2251><P
2252></P
2253><TABLE
2254BORDER="0"
2255WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002256BGCOLOR="#FFD0D0"
Daniel Veillardbc50b591999-03-01 12:28:53 +00002257CELLSPACING="0"
2258CELLPADDING="4"
2259CLASS="CALSTABLE"
2260><TR
2261><TD
2262WIDTH="20%"
2263ALIGN="RIGHT"
2264VALIGN="TOP"
2265><TT
2266CLASS="PARAMETER"
2267><I
2268>input</I
2269></TT
2270>&nbsp;:</TD
2271><TD
2272WIDTH="80%"
2273ALIGN="LEFT"
2274VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002275> an xmlParserInputPtr</TD
Daniel Veillardbc50b591999-03-01 12:28:53 +00002276></TR
2277></TABLE
2278><P
2279></P
2280></DIV
2281></DIV
2282><HR><DIV
2283CLASS="REFSECT2"
2284><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002285NAME="AEN5239"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002286></A
2287><H3
2288><A
2289NAME="XMLNEWINPUTFROMFILE"
2290></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002291>xmlNewInputFromFile ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00002292><TABLE
2293BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002294BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002295WIDTH="100%"
2296CELLPADDING="6"
2297><TR
2298><TD
2299><PRE
2300CLASS="PROGRAMLISTING"
2301><A
2302HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
2303>xmlParserInputPtr</A
2304> xmlNewInputFromFile (<A
2305HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2306>xmlParserCtxtPtr</A
2307> ctxt,
2308 const char *filename);</PRE
2309></TD
2310></TR
2311></TABLE
2312><P
2313>Create a new input stream based on a file.</P
2314><P
2315></P
2316><DIV
2317CLASS="INFORMALTABLE"
2318><P
2319></P
2320><TABLE
2321BORDER="0"
2322WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002323BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00002324CELLSPACING="0"
2325CELLPADDING="4"
2326CLASS="CALSTABLE"
2327><TR
2328><TD
2329WIDTH="20%"
2330ALIGN="RIGHT"
2331VALIGN="TOP"
2332><TT
2333CLASS="PARAMETER"
2334><I
2335>ctxt</I
2336></TT
2337>&nbsp;:</TD
2338><TD
2339WIDTH="80%"
2340ALIGN="LEFT"
2341VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002342> an XML parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002343></TR
2344><TR
2345><TD
2346WIDTH="20%"
2347ALIGN="RIGHT"
2348VALIGN="TOP"
2349><TT
2350CLASS="PARAMETER"
2351><I
2352>filename</I
2353></TT
2354>&nbsp;:</TD
2355><TD
2356WIDTH="80%"
2357ALIGN="LEFT"
2358VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002359> the filename to use as entity</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002360></TR
2361><TR
2362><TD
2363WIDTH="20%"
2364ALIGN="RIGHT"
2365VALIGN="TOP"
2366><I
2367CLASS="EMPHASIS"
2368>Returns</I
2369> :</TD
2370><TD
2371WIDTH="80%"
2372ALIGN="LEFT"
2373VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002374>the new input stream or NULL in case of error</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00002375></TR
2376></TABLE
2377><P
2378></P
2379></DIV
2380></DIV
2381><HR><DIV
2382CLASS="REFSECT2"
2383><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002384NAME="AEN5264"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002385></A
2386><H3
2387><A
2388NAME="XMLSPLITQNAME"
2389></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002390>xmlSplitQName ()</H3
Daniel Veillard5099ae81999-04-21 20:12:07 +00002391><TABLE
2392BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002393BGCOLOR="#D6E8FF"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002394WIDTH="100%"
2395CELLPADDING="6"
2396><TR
2397><TD
2398><PRE
2399CLASS="PROGRAMLISTING"
2400><A
2401HREF="gnome-xml-tree.html#CHAR"
2402>CHAR</A
2403>* xmlSplitQName (const <A
2404HREF="gnome-xml-tree.html#CHAR"
2405>CHAR</A
2406> *name,
2407 <A
2408HREF="gnome-xml-tree.html#CHAR"
2409>CHAR</A
2410> **prefix);</PRE
2411></TD
2412></TR
2413></TABLE
2414><P
2415>parse an XML qualified name string</P
2416><P
2417>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2418><P
2419>[NS 6] Prefix ::= NCName</P
2420><P
2421>[NS 7] LocalPart ::= NCName</P
2422><P
2423></P
2424><DIV
2425CLASS="INFORMALTABLE"
2426><P
2427></P
2428><TABLE
2429BORDER="0"
2430WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002431BGCOLOR="#FFD0D0"
Daniel Veillard5099ae81999-04-21 20:12:07 +00002432CELLSPACING="0"
2433CELLPADDING="4"
2434CLASS="CALSTABLE"
2435><TR
2436><TD
2437WIDTH="20%"
2438ALIGN="RIGHT"
2439VALIGN="TOP"
2440><TT
2441CLASS="PARAMETER"
2442><I
2443>name</I
2444></TT
2445>&nbsp;:</TD
2446><TD
2447WIDTH="80%"
2448ALIGN="LEFT"
2449VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002450> an XML parser context</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002451></TR
2452><TR
2453><TD
2454WIDTH="20%"
2455ALIGN="RIGHT"
2456VALIGN="TOP"
2457><TT
2458CLASS="PARAMETER"
2459><I
2460>prefix</I
2461></TT
2462>&nbsp;:</TD
2463><TD
2464WIDTH="80%"
2465ALIGN="LEFT"
2466VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002467> a CHAR ** </TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002468></TR
2469><TR
2470><TD
2471WIDTH="20%"
2472ALIGN="RIGHT"
2473VALIGN="TOP"
2474><I
2475CLASS="EMPHASIS"
2476>Returns</I
2477> :</TD
2478><TD
2479WIDTH="80%"
2480ALIGN="LEFT"
2481VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002482>the function returns the local part, and prefix is updated
2483to get the Prefix if any.</TD
Daniel Veillard5099ae81999-04-21 20:12:07 +00002484></TR
2485></TABLE
2486><P
2487></P
2488></DIV
2489></DIV
2490><HR><DIV
2491CLASS="REFSECT2"
2492><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002493NAME="AEN5293"
Daniel Veillard35925471999-02-25 08:46:07 +00002494></A
2495><H3
2496><A
2497NAME="XMLNAMESPACEPARSENCNAME"
2498></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002499>xmlNamespaceParseNCName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002500><TABLE
2501BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002502BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002503WIDTH="100%"
2504CELLPADDING="6"
2505><TR
2506><TD
2507><PRE
2508CLASS="PROGRAMLISTING"
2509><A
2510HREF="gnome-xml-tree.html#CHAR"
2511>CHAR</A
2512>* xmlNamespaceParseNCName (<A
2513HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2514>xmlParserCtxtPtr</A
2515> ctxt);</PRE
2516></TD
2517></TR
2518></TABLE
2519><P
2520>parse an XML namespace name.</P
2521><P
2522>[NS 3] NCName ::= (Letter | '_') (NCNameChar)*</P
2523><P
2524>[NS 4] NCNameChar ::= Letter | Digit | '.' | '-' | '_' |
2525CombiningChar | Extender</P
2526><P
2527></P
2528><DIV
2529CLASS="INFORMALTABLE"
2530><P
2531></P
2532><TABLE
2533BORDER="0"
2534WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002535BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002536CELLSPACING="0"
2537CELLPADDING="4"
2538CLASS="CALSTABLE"
2539><TR
2540><TD
2541WIDTH="20%"
2542ALIGN="RIGHT"
2543VALIGN="TOP"
2544><TT
2545CLASS="PARAMETER"
2546><I
2547>ctxt</I
2548></TT
2549>&nbsp;:</TD
2550><TD
2551WIDTH="80%"
2552ALIGN="LEFT"
2553VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002554> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002555></TR
2556><TR
2557><TD
2558WIDTH="20%"
2559ALIGN="RIGHT"
2560VALIGN="TOP"
2561><I
2562CLASS="EMPHASIS"
2563>Returns</I
2564> :</TD
2565><TD
2566WIDTH="80%"
2567ALIGN="LEFT"
2568VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002569>the namespace name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002570></TR
2571></TABLE
2572><P
2573></P
2574></DIV
2575></DIV
2576><HR><DIV
2577CLASS="REFSECT2"
2578><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002579NAME="AEN5316"
Daniel Veillard35925471999-02-25 08:46:07 +00002580></A
2581><H3
2582><A
2583NAME="XMLNAMESPACEPARSEQNAME"
2584></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002585>xmlNamespaceParseQName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002586><TABLE
2587BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002588BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002589WIDTH="100%"
2590CELLPADDING="6"
2591><TR
2592><TD
2593><PRE
2594CLASS="PROGRAMLISTING"
2595><A
2596HREF="gnome-xml-tree.html#CHAR"
2597>CHAR</A
2598>* xmlNamespaceParseQName (<A
2599HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2600>xmlParserCtxtPtr</A
2601> ctxt,
2602 <A
2603HREF="gnome-xml-tree.html#CHAR"
2604>CHAR</A
2605> **prefix);</PRE
2606></TD
2607></TR
2608></TABLE
2609><P
2610>parse an XML qualified name</P
2611><P
2612>[NS 5] QName ::= (Prefix ':')? LocalPart</P
2613><P
2614>[NS 6] Prefix ::= NCName</P
2615><P
2616>[NS 7] LocalPart ::= NCName</P
2617><P
2618></P
2619><DIV
2620CLASS="INFORMALTABLE"
2621><P
2622></P
2623><TABLE
2624BORDER="0"
2625WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002626BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002627CELLSPACING="0"
2628CELLPADDING="4"
2629CLASS="CALSTABLE"
2630><TR
2631><TD
2632WIDTH="20%"
2633ALIGN="RIGHT"
2634VALIGN="TOP"
2635><TT
2636CLASS="PARAMETER"
2637><I
2638>ctxt</I
2639></TT
2640>&nbsp;:</TD
2641><TD
2642WIDTH="80%"
2643ALIGN="LEFT"
2644VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002645> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002646></TR
2647><TR
2648><TD
2649WIDTH="20%"
2650ALIGN="RIGHT"
2651VALIGN="TOP"
2652><TT
2653CLASS="PARAMETER"
2654><I
2655>prefix</I
2656></TT
2657>&nbsp;:</TD
2658><TD
2659WIDTH="80%"
2660ALIGN="LEFT"
2661VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002662> a CHAR ** </TD
Daniel Veillard35925471999-02-25 08:46:07 +00002663></TR
2664><TR
2665><TD
2666WIDTH="20%"
2667ALIGN="RIGHT"
2668VALIGN="TOP"
2669><I
2670CLASS="EMPHASIS"
2671>Returns</I
2672> :</TD
2673><TD
2674WIDTH="80%"
2675ALIGN="LEFT"
2676VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002677>the function returns the local part, and prefix is updated
2678to get the Prefix if any.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002679></TR
2680></TABLE
2681><P
2682></P
2683></DIV
2684></DIV
2685><HR><DIV
2686CLASS="REFSECT2"
2687><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002688NAME="AEN5345"
Daniel Veillard35925471999-02-25 08:46:07 +00002689></A
2690><H3
2691><A
2692NAME="XMLNAMESPACEPARSENSDEF"
2693></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002694>xmlNamespaceParseNSDef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002695><TABLE
2696BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002697BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002698WIDTH="100%"
2699CELLPADDING="6"
2700><TR
2701><TD
2702><PRE
2703CLASS="PROGRAMLISTING"
2704><A
2705HREF="gnome-xml-tree.html#CHAR"
2706>CHAR</A
2707>* xmlNamespaceParseNSDef (<A
2708HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2709>xmlParserCtxtPtr</A
2710> ctxt);</PRE
2711></TD
2712></TR
2713></TABLE
2714><P
2715>parse a namespace prefix declaration</P
2716><P
2717>[NS 1] NSDef ::= PrefixDef Eq SystemLiteral</P
2718><P
2719>[NS 2] PrefixDef ::= 'xmlns' (':' NCName)?</P
2720><P
2721></P
2722><DIV
2723CLASS="INFORMALTABLE"
2724><P
2725></P
2726><TABLE
2727BORDER="0"
2728WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002729BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002730CELLSPACING="0"
2731CELLPADDING="4"
2732CLASS="CALSTABLE"
2733><TR
2734><TD
2735WIDTH="20%"
2736ALIGN="RIGHT"
2737VALIGN="TOP"
2738><TT
2739CLASS="PARAMETER"
2740><I
2741>ctxt</I
2742></TT
2743>&nbsp;:</TD
2744><TD
2745WIDTH="80%"
2746ALIGN="LEFT"
2747VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002748> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002749></TR
2750><TR
2751><TD
2752WIDTH="20%"
2753ALIGN="RIGHT"
2754VALIGN="TOP"
2755><I
2756CLASS="EMPHASIS"
2757>Returns</I
2758> :</TD
2759><TD
2760WIDTH="80%"
2761ALIGN="LEFT"
2762VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002763>the namespace name</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002764></TR
2765></TABLE
2766><P
2767></P
2768></DIV
2769></DIV
2770><HR><DIV
2771CLASS="REFSECT2"
2772><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002773NAME="AEN5368"
Daniel Veillard35925471999-02-25 08:46:07 +00002774></A
2775><H3
2776><A
2777NAME="XMLPARSEQUOTEDSTRING"
2778></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002779>xmlParseQuotedString ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002780><TABLE
2781BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002782BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002783WIDTH="100%"
2784CELLPADDING="6"
2785><TR
2786><TD
2787><PRE
2788CLASS="PROGRAMLISTING"
2789><A
2790HREF="gnome-xml-tree.html#CHAR"
2791>CHAR</A
2792>* xmlParseQuotedString (<A
2793HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2794>xmlParserCtxtPtr</A
2795> ctxt);</PRE
2796></TD
2797></TR
2798></TABLE
2799><P
2800>[OLD] Parse and return a string between quotes or doublequotes</P
2801><P
2802></P
2803><DIV
2804CLASS="INFORMALTABLE"
2805><P
2806></P
2807><TABLE
2808BORDER="0"
2809WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002810BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002811CELLSPACING="0"
2812CELLPADDING="4"
2813CLASS="CALSTABLE"
2814><TR
2815><TD
2816WIDTH="20%"
2817ALIGN="RIGHT"
2818VALIGN="TOP"
2819><TT
2820CLASS="PARAMETER"
2821><I
2822>ctxt</I
2823></TT
2824>&nbsp;:</TD
2825><TD
2826WIDTH="80%"
2827ALIGN="LEFT"
2828VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002829> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002830></TR
2831><TR
2832><TD
2833WIDTH="20%"
2834ALIGN="RIGHT"
2835VALIGN="TOP"
2836><I
2837CLASS="EMPHASIS"
2838>Returns</I
2839> :</TD
2840><TD
2841WIDTH="80%"
2842ALIGN="LEFT"
2843VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002844>the string parser or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002845></TR
2846></TABLE
2847><P
2848></P
2849></DIV
2850></DIV
2851><HR><DIV
2852CLASS="REFSECT2"
2853><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002854NAME="AEN5389"
Daniel Veillard35925471999-02-25 08:46:07 +00002855></A
2856><H3
2857><A
2858NAME="XMLPARSENAMESPACE"
2859></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002860>xmlParseNamespace ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002861><TABLE
2862BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002863BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002864WIDTH="100%"
2865CELLPADDING="6"
2866><TR
2867><TD
2868><PRE
2869CLASS="PROGRAMLISTING"
2870>void xmlParseNamespace (<A
2871HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2872>xmlParserCtxtPtr</A
2873> ctxt);</PRE
2874></TD
2875></TR
2876></TABLE
2877><P
2878>[OLD] xmlParseNamespace: parse specific PI '&lt;?namespace ...' constructs.</P
2879><P
2880>This is what the older xml-name Working Draft specified, a bunch of
2881other stuff may still rely on it, so support is still here as
2882if ot was declared on the root of the Tree:-(</P
2883><P
2884></P
2885><DIV
2886CLASS="INFORMALTABLE"
2887><P
2888></P
2889><TABLE
2890BORDER="0"
2891WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002892BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002893CELLSPACING="0"
2894CELLPADDING="4"
2895CLASS="CALSTABLE"
2896><TR
2897><TD
2898WIDTH="20%"
2899ALIGN="RIGHT"
2900VALIGN="TOP"
2901><TT
2902CLASS="PARAMETER"
2903><I
2904>ctxt</I
2905></TT
2906>&nbsp;:</TD
2907><TD
2908WIDTH="80%"
2909ALIGN="LEFT"
2910VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002911> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002912></TR
2913></TABLE
2914><P
2915></P
2916></DIV
2917></DIV
2918><HR><DIV
2919CLASS="REFSECT2"
2920><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002921NAME="AEN5406"
Daniel Veillard35925471999-02-25 08:46:07 +00002922></A
2923><H3
2924><A
2925NAME="XMLPARSENAME"
2926></A
Daniel Veillard14fff061999-06-22 21:49:07 +00002927>xmlParseName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00002928><TABLE
2929BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00002930BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00002931WIDTH="100%"
2932CELLPADDING="6"
2933><TR
2934><TD
2935><PRE
2936CLASS="PROGRAMLISTING"
2937><A
2938HREF="gnome-xml-tree.html#CHAR"
2939>CHAR</A
2940>* xmlParseName (<A
2941HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
2942>xmlParserCtxtPtr</A
2943> ctxt);</PRE
2944></TD
2945></TR
2946></TABLE
2947><P
2948>parse an XML name.</P
2949><P
2950>[4] NameChar ::= Letter | Digit | '.' | '-' | '_' | ':' |
2951CombiningChar | Extender</P
2952><P
2953>[5] Name ::= (Letter | '_' | ':') (NameChar)*</P
2954><P
2955>[6] Names ::= Name (S Name)*</P
2956><P
2957></P
2958><DIV
2959CLASS="INFORMALTABLE"
2960><P
2961></P
2962><TABLE
2963BORDER="0"
2964WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00002965BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00002966CELLSPACING="0"
2967CELLPADDING="4"
2968CLASS="CALSTABLE"
2969><TR
2970><TD
2971WIDTH="20%"
2972ALIGN="RIGHT"
2973VALIGN="TOP"
2974><TT
2975CLASS="PARAMETER"
2976><I
2977>ctxt</I
2978></TT
2979>&nbsp;:</TD
2980><TD
2981WIDTH="80%"
2982ALIGN="LEFT"
2983VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002984> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00002985></TR
2986><TR
2987><TD
2988WIDTH="20%"
2989ALIGN="RIGHT"
2990VALIGN="TOP"
2991><I
2992CLASS="EMPHASIS"
2993>Returns</I
2994> :</TD
2995><TD
2996WIDTH="80%"
2997ALIGN="LEFT"
2998VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00002999>the Name parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003000></TR
3001></TABLE
3002><P
3003></P
3004></DIV
3005></DIV
3006><HR><DIV
3007CLASS="REFSECT2"
3008><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003009NAME="AEN5430"
Daniel Veillard35925471999-02-25 08:46:07 +00003010></A
3011><H3
3012><A
3013NAME="XMLPARSENMTOKEN"
3014></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003015>xmlParseNmtoken ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003016><TABLE
3017BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003018BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003019WIDTH="100%"
3020CELLPADDING="6"
3021><TR
3022><TD
3023><PRE
3024CLASS="PROGRAMLISTING"
3025><A
3026HREF="gnome-xml-tree.html#CHAR"
3027>CHAR</A
3028>* xmlParseNmtoken (<A
3029HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3030>xmlParserCtxtPtr</A
3031> ctxt);</PRE
3032></TD
3033></TR
3034></TABLE
3035><P
3036>parse an XML Nmtoken.</P
3037><P
3038>[7] Nmtoken ::= (NameChar)+</P
3039><P
3040>[8] Nmtokens ::= Nmtoken (S Nmtoken)*</P
3041><P
3042></P
3043><DIV
3044CLASS="INFORMALTABLE"
3045><P
3046></P
3047><TABLE
3048BORDER="0"
3049WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003050BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003051CELLSPACING="0"
3052CELLPADDING="4"
3053CLASS="CALSTABLE"
3054><TR
3055><TD
3056WIDTH="20%"
3057ALIGN="RIGHT"
3058VALIGN="TOP"
3059><TT
3060CLASS="PARAMETER"
3061><I
3062>ctxt</I
3063></TT
3064>&nbsp;:</TD
3065><TD
3066WIDTH="80%"
3067ALIGN="LEFT"
3068VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003069> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003070></TR
3071><TR
3072><TD
3073WIDTH="20%"
3074ALIGN="RIGHT"
3075VALIGN="TOP"
3076><I
3077CLASS="EMPHASIS"
3078>Returns</I
3079> :</TD
3080><TD
3081WIDTH="80%"
3082ALIGN="LEFT"
3083VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003084>the Nmtoken parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003085></TR
3086></TABLE
3087><P
3088></P
3089></DIV
3090></DIV
3091><HR><DIV
3092CLASS="REFSECT2"
3093><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003094NAME="AEN5453"
Daniel Veillard35925471999-02-25 08:46:07 +00003095></A
3096><H3
3097><A
3098NAME="XMLPARSEENTITYVALUE"
3099></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003100>xmlParseEntityValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003101><TABLE
3102BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003103BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003104WIDTH="100%"
3105CELLPADDING="6"
3106><TR
3107><TD
3108><PRE
3109CLASS="PROGRAMLISTING"
3110><A
3111HREF="gnome-xml-tree.html#CHAR"
3112>CHAR</A
3113>* xmlParseEntityValue (<A
3114HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3115>xmlParserCtxtPtr</A
Daniel Veillard011b63c1999-06-02 17:44:04 +00003116> ctxt,
3117 <A
3118HREF="gnome-xml-tree.html#CHAR"
3119>CHAR</A
3120> **orig);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00003121></TD
3122></TR
3123></TABLE
3124><P
3125>parse a value for ENTITY decl.</P
3126><P
3127>[9] EntityValue ::= '"' ([^%&amp;"] | PEReference | Reference)* '"' |
3128"'" ([^%&amp;'] | PEReference | Reference)* "'"</P
3129><P
3130></P
3131><DIV
3132CLASS="INFORMALTABLE"
3133><P
3134></P
3135><TABLE
3136BORDER="0"
3137WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003138BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003139CELLSPACING="0"
3140CELLPADDING="4"
3141CLASS="CALSTABLE"
3142><TR
3143><TD
3144WIDTH="20%"
3145ALIGN="RIGHT"
3146VALIGN="TOP"
3147><TT
3148CLASS="PARAMETER"
3149><I
3150>ctxt</I
3151></TT
3152>&nbsp;:</TD
3153><TD
3154WIDTH="80%"
3155ALIGN="LEFT"
3156VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003157> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003158></TR
3159><TR
3160><TD
3161WIDTH="20%"
3162ALIGN="RIGHT"
3163VALIGN="TOP"
Daniel Veillard011b63c1999-06-02 17:44:04 +00003164><TT
3165CLASS="PARAMETER"
3166><I
3167>orig</I
3168></TT
3169>&nbsp;:</TD
3170><TD
3171WIDTH="80%"
3172ALIGN="LEFT"
3173VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003174> if non-NULL store a copy of the original entity value</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00003175></TR
3176><TR
3177><TD
3178WIDTH="20%"
3179ALIGN="RIGHT"
3180VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00003181><I
3182CLASS="EMPHASIS"
3183>Returns</I
3184> :</TD
3185><TD
3186WIDTH="80%"
3187ALIGN="LEFT"
3188VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003189>the EntityValue parsed with reference substitued or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003190></TR
3191></TABLE
3192><P
3193></P
3194></DIV
3195></DIV
3196><HR><DIV
3197CLASS="REFSECT2"
3198><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003199NAME="AEN5480"
Daniel Veillard35925471999-02-25 08:46:07 +00003200></A
3201><H3
3202><A
3203NAME="XMLPARSEATTVALUE"
3204></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003205>xmlParseAttValue ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003206><TABLE
3207BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003208BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003209WIDTH="100%"
3210CELLPADDING="6"
3211><TR
3212><TD
3213><PRE
3214CLASS="PROGRAMLISTING"
3215><A
3216HREF="gnome-xml-tree.html#CHAR"
3217>CHAR</A
3218>* xmlParseAttValue (<A
3219HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3220>xmlParserCtxtPtr</A
3221> ctxt);</PRE
3222></TD
3223></TR
3224></TABLE
3225><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00003226>parse a value for an attribute
3227Note: the parser won't do substitution of entities here, this
3228will be handled later in xmlStringGetNodeList, unless it was
3229asked for ctxt-&gt;replaceEntities != 0 </P
Daniel Veillard35925471999-02-25 08:46:07 +00003230><P
3231>[10] AttValue ::= '"' ([^&lt;&amp;"] | Reference)* '"' |
3232"'" ([^&lt;&amp;'] | Reference)* "'"</P
3233><P
3234></P
3235><DIV
3236CLASS="INFORMALTABLE"
3237><P
3238></P
3239><TABLE
3240BORDER="0"
3241WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003242BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003243CELLSPACING="0"
3244CELLPADDING="4"
3245CLASS="CALSTABLE"
3246><TR
3247><TD
3248WIDTH="20%"
3249ALIGN="RIGHT"
3250VALIGN="TOP"
3251><TT
3252CLASS="PARAMETER"
3253><I
3254>ctxt</I
3255></TT
3256>&nbsp;:</TD
3257><TD
3258WIDTH="80%"
3259ALIGN="LEFT"
3260VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003261> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003262></TR
3263><TR
3264><TD
3265WIDTH="20%"
3266ALIGN="RIGHT"
3267VALIGN="TOP"
3268><I
3269CLASS="EMPHASIS"
3270>Returns</I
3271> :</TD
3272><TD
3273WIDTH="80%"
3274ALIGN="LEFT"
3275VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003276>the AttValue parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003277></TR
3278></TABLE
3279><P
3280></P
3281></DIV
3282></DIV
3283><HR><DIV
3284CLASS="REFSECT2"
3285><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003286NAME="AEN5502"
Daniel Veillard35925471999-02-25 08:46:07 +00003287></A
3288><H3
3289><A
3290NAME="XMLPARSESYSTEMLITERAL"
3291></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003292>xmlParseSystemLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003293><TABLE
3294BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003295BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003296WIDTH="100%"
3297CELLPADDING="6"
3298><TR
3299><TD
3300><PRE
3301CLASS="PROGRAMLISTING"
3302><A
3303HREF="gnome-xml-tree.html#CHAR"
3304>CHAR</A
3305>* xmlParseSystemLiteral (<A
3306HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3307>xmlParserCtxtPtr</A
3308> ctxt);</PRE
3309></TD
3310></TR
3311></TABLE
3312><P
3313>parse an XML Literal</P
3314><P
3315>[11] SystemLiteral ::= ('"' [^"]* '"') | ("'" [^']* "'")</P
3316><P
3317></P
3318><DIV
3319CLASS="INFORMALTABLE"
3320><P
3321></P
3322><TABLE
3323BORDER="0"
3324WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003325BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003326CELLSPACING="0"
3327CELLPADDING="4"
3328CLASS="CALSTABLE"
3329><TR
3330><TD
3331WIDTH="20%"
3332ALIGN="RIGHT"
3333VALIGN="TOP"
3334><TT
3335CLASS="PARAMETER"
3336><I
3337>ctxt</I
3338></TT
3339>&nbsp;:</TD
3340><TD
3341WIDTH="80%"
3342ALIGN="LEFT"
3343VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003344> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003345></TR
3346><TR
3347><TD
3348WIDTH="20%"
3349ALIGN="RIGHT"
3350VALIGN="TOP"
3351><I
3352CLASS="EMPHASIS"
3353>Returns</I
3354> :</TD
3355><TD
3356WIDTH="80%"
3357ALIGN="LEFT"
3358VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003359>the SystemLiteral parsed or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003360></TR
3361></TABLE
3362><P
3363></P
3364></DIV
3365></DIV
3366><HR><DIV
3367CLASS="REFSECT2"
3368><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003369NAME="AEN5524"
Daniel Veillard35925471999-02-25 08:46:07 +00003370></A
3371><H3
3372><A
3373NAME="XMLPARSEPUBIDLITERAL"
3374></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003375>xmlParsePubidLiteral ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003376><TABLE
3377BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003378BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003379WIDTH="100%"
3380CELLPADDING="6"
3381><TR
3382><TD
3383><PRE
3384CLASS="PROGRAMLISTING"
3385><A
3386HREF="gnome-xml-tree.html#CHAR"
3387>CHAR</A
3388>* xmlParsePubidLiteral (<A
3389HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3390>xmlParserCtxtPtr</A
3391> ctxt);</PRE
3392></TD
3393></TR
3394></TABLE
3395><P
3396>parse an XML public literal</P
3397><P
3398>[12] PubidLiteral ::= '"' PubidChar* '"' | "'" (PubidChar - "'")* "'"</P
3399><P
3400></P
3401><DIV
3402CLASS="INFORMALTABLE"
3403><P
3404></P
3405><TABLE
3406BORDER="0"
3407WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003408BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003409CELLSPACING="0"
3410CELLPADDING="4"
3411CLASS="CALSTABLE"
3412><TR
3413><TD
3414WIDTH="20%"
3415ALIGN="RIGHT"
3416VALIGN="TOP"
3417><TT
3418CLASS="PARAMETER"
3419><I
3420>ctxt</I
3421></TT
3422>&nbsp;:</TD
3423><TD
3424WIDTH="80%"
3425ALIGN="LEFT"
3426VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003427> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003428></TR
3429><TR
3430><TD
3431WIDTH="20%"
3432ALIGN="RIGHT"
3433VALIGN="TOP"
3434><I
3435CLASS="EMPHASIS"
3436>Returns</I
3437> :</TD
3438><TD
3439WIDTH="80%"
3440ALIGN="LEFT"
3441VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003442>the PubidLiteral parsed or NULL.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003443></TR
3444></TABLE
3445><P
3446></P
3447></DIV
3448></DIV
3449><HR><DIV
3450CLASS="REFSECT2"
3451><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003452NAME="AEN5546"
Daniel Veillard35925471999-02-25 08:46:07 +00003453></A
3454><H3
3455><A
3456NAME="XMLPARSECHARDATA"
3457></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003458>xmlParseCharData ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003459><TABLE
3460BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003461BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003462WIDTH="100%"
3463CELLPADDING="6"
3464><TR
3465><TD
3466><PRE
3467CLASS="PROGRAMLISTING"
3468>void xmlParseCharData (<A
3469HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3470>xmlParserCtxtPtr</A
3471> ctxt,
3472 int cdata);</PRE
3473></TD
3474></TR
3475></TABLE
3476><P
3477>parse a CharData section.
3478if we are within a CDATA section ']]&gt;' marks an end of section.</P
3479><P
3480>[14] CharData ::= [^&lt;&amp;]* - ([^&lt;&amp;]* ']]&gt;' [^&lt;&amp;]*)</P
3481><P
3482></P
3483><DIV
3484CLASS="INFORMALTABLE"
3485><P
3486></P
3487><TABLE
3488BORDER="0"
3489WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003490BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003491CELLSPACING="0"
3492CELLPADDING="4"
3493CLASS="CALSTABLE"
3494><TR
3495><TD
3496WIDTH="20%"
3497ALIGN="RIGHT"
3498VALIGN="TOP"
3499><TT
3500CLASS="PARAMETER"
3501><I
3502>ctxt</I
3503></TT
3504>&nbsp;:</TD
3505><TD
3506WIDTH="80%"
3507ALIGN="LEFT"
3508VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003509> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003510></TR
3511><TR
3512><TD
3513WIDTH="20%"
3514ALIGN="RIGHT"
3515VALIGN="TOP"
3516><TT
3517CLASS="PARAMETER"
3518><I
3519>cdata</I
3520></TT
3521>&nbsp;:</TD
3522><TD
3523WIDTH="80%"
3524ALIGN="LEFT"
3525VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003526> int indicating whether we are within a CDATA section</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003527></TR
3528></TABLE
3529><P
3530></P
3531></DIV
3532></DIV
3533><HR><DIV
3534CLASS="REFSECT2"
3535><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003536NAME="AEN5567"
Daniel Veillard35925471999-02-25 08:46:07 +00003537></A
3538><H3
3539><A
3540NAME="XMLPARSEEXTERNALID"
3541></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003542>xmlParseExternalID ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003543><TABLE
3544BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003545BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003546WIDTH="100%"
3547CELLPADDING="6"
3548><TR
3549><TD
3550><PRE
3551CLASS="PROGRAMLISTING"
3552><A
3553HREF="gnome-xml-tree.html#CHAR"
3554>CHAR</A
3555>* xmlParseExternalID (<A
3556HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3557>xmlParserCtxtPtr</A
3558> ctxt,
3559 <A
3560HREF="gnome-xml-tree.html#CHAR"
3561>CHAR</A
3562> **publicID,
3563 int strict);</PRE
3564></TD
3565></TR
3566></TABLE
3567><P
3568>Parse an External ID or a Public ID</P
3569><P
3570>NOTE: Productions [75] and [83] interract badly since [75] can generate
3571'PUBLIC' S PubidLiteral S SystemLiteral</P
3572><P
3573>[75] ExternalID ::= 'SYSTEM' S SystemLiteral
3574| 'PUBLIC' S PubidLiteral S SystemLiteral</P
3575><P
3576>[83] PublicID ::= 'PUBLIC' S PubidLiteral</P
3577><P
3578></P
3579><DIV
3580CLASS="INFORMALTABLE"
3581><P
3582></P
3583><TABLE
3584BORDER="0"
3585WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003586BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003587CELLSPACING="0"
3588CELLPADDING="4"
3589CLASS="CALSTABLE"
3590><TR
3591><TD
3592WIDTH="20%"
3593ALIGN="RIGHT"
3594VALIGN="TOP"
3595><TT
3596CLASS="PARAMETER"
3597><I
3598>ctxt</I
3599></TT
3600>&nbsp;:</TD
3601><TD
3602WIDTH="80%"
3603ALIGN="LEFT"
3604VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003605> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003606></TR
3607><TR
3608><TD
3609WIDTH="20%"
3610ALIGN="RIGHT"
3611VALIGN="TOP"
3612><TT
3613CLASS="PARAMETER"
3614><I
3615>publicID</I
3616></TT
3617>&nbsp;:</TD
3618><TD
3619WIDTH="80%"
3620ALIGN="LEFT"
3621VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003622> a CHAR** receiving PubidLiteral</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003623></TR
3624><TR
3625><TD
3626WIDTH="20%"
3627ALIGN="RIGHT"
3628VALIGN="TOP"
3629><TT
3630CLASS="PARAMETER"
3631><I
3632>strict</I
3633></TT
3634>&nbsp;:</TD
3635><TD
3636WIDTH="80%"
3637ALIGN="LEFT"
3638VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003639> indicate whether we should restrict parsing to only
3640production [75], see NOTE below</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003641></TR
3642><TR
3643><TD
3644WIDTH="20%"
3645ALIGN="RIGHT"
3646VALIGN="TOP"
3647><I
3648CLASS="EMPHASIS"
3649>Returns</I
3650> :</TD
3651><TD
3652WIDTH="80%"
3653ALIGN="LEFT"
3654VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003655>the function returns SystemLiteral and in the second
3656case publicID receives PubidLiteral, is strict is off
3657it is possible to return NULL and have publicID set.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003658></TR
3659></TABLE
3660><P
3661></P
3662></DIV
3663></DIV
3664><HR><DIV
3665CLASS="REFSECT2"
3666><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003667NAME="AEN5600"
Daniel Veillard35925471999-02-25 08:46:07 +00003668></A
3669><H3
3670><A
3671NAME="XMLPARSECOMMENT"
3672></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003673>xmlParseComment ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003674><TABLE
3675BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003676BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003677WIDTH="100%"
3678CELLPADDING="6"
3679><TR
3680><TD
3681><PRE
3682CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00003683>void xmlParseComment (<A
Daniel Veillard35925471999-02-25 08:46:07 +00003684HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3685>xmlParserCtxtPtr</A
3686> ctxt,
3687 int create);</PRE
3688></TD
3689></TR
3690></TABLE
3691><P
3692>Skip an XML (SGML) comment &lt;!-- .... --&gt;
3693This may or may not create a node (depending on the context)
3694The spec says that "For compatibility, the string "--" (double-hyphen)
3695must not occur within comments. "</P
3696><P
3697>[15] Comment ::= '&lt;!--' ((Char - '-') | ('-' (Char - '-')))* '--&gt;'</P
3698><P
Daniel Veillard35925471999-02-25 08:46:07 +00003699></P
3700><DIV
3701CLASS="INFORMALTABLE"
3702><P
3703></P
3704><TABLE
3705BORDER="0"
3706WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003707BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003708CELLSPACING="0"
3709CELLPADDING="4"
3710CLASS="CALSTABLE"
3711><TR
3712><TD
3713WIDTH="20%"
3714ALIGN="RIGHT"
3715VALIGN="TOP"
3716><TT
3717CLASS="PARAMETER"
3718><I
3719>ctxt</I
3720></TT
3721>&nbsp;:</TD
3722><TD
3723WIDTH="80%"
3724ALIGN="LEFT"
3725VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003726> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003727></TR
3728><TR
3729><TD
3730WIDTH="20%"
3731ALIGN="RIGHT"
3732VALIGN="TOP"
3733><TT
3734CLASS="PARAMETER"
3735><I
3736>create</I
3737></TT
3738>&nbsp;:</TD
3739><TD
3740WIDTH="80%"
3741ALIGN="LEFT"
3742VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003743> should we create a node, or just skip the content</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003744></TR
Daniel Veillard35925471999-02-25 08:46:07 +00003745></TABLE
3746><P
3747></P
3748></DIV
3749></DIV
3750><HR><DIV
3751CLASS="REFSECT2"
3752><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003753NAME="AEN5621"
Daniel Veillard35925471999-02-25 08:46:07 +00003754></A
3755><H3
3756><A
3757NAME="XMLPARSEPITARGET"
3758></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003759>xmlParsePITarget ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003760><TABLE
3761BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003762BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003763WIDTH="100%"
3764CELLPADDING="6"
3765><TR
3766><TD
3767><PRE
3768CLASS="PROGRAMLISTING"
3769><A
3770HREF="gnome-xml-tree.html#CHAR"
3771>CHAR</A
3772>* xmlParsePITarget (<A
3773HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3774>xmlParserCtxtPtr</A
3775> ctxt);</PRE
3776></TD
3777></TR
3778></TABLE
3779><P
3780>parse the name of a PI</P
3781><P
3782>[17] PITarget ::= Name - (('X' | 'x') ('M' | 'm') ('L' | 'l'))</P
3783><P
3784></P
3785><DIV
3786CLASS="INFORMALTABLE"
3787><P
3788></P
3789><TABLE
3790BORDER="0"
3791WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003792BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003793CELLSPACING="0"
3794CELLPADDING="4"
3795CLASS="CALSTABLE"
3796><TR
3797><TD
3798WIDTH="20%"
3799ALIGN="RIGHT"
3800VALIGN="TOP"
3801><TT
3802CLASS="PARAMETER"
3803><I
3804>ctxt</I
3805></TT
3806>&nbsp;:</TD
3807><TD
3808WIDTH="80%"
3809ALIGN="LEFT"
3810VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003811> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003812></TR
3813><TR
3814><TD
3815WIDTH="20%"
3816ALIGN="RIGHT"
3817VALIGN="TOP"
3818><I
3819CLASS="EMPHASIS"
3820>Returns</I
3821> :</TD
3822><TD
3823WIDTH="80%"
3824ALIGN="LEFT"
3825VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003826>the PITarget name or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003827></TR
3828></TABLE
3829><P
3830></P
3831></DIV
3832></DIV
3833><HR><DIV
3834CLASS="REFSECT2"
3835><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003836NAME="AEN5643"
Daniel Veillard35925471999-02-25 08:46:07 +00003837></A
3838><H3
3839><A
3840NAME="XMLPARSEPI"
3841></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003842>xmlParsePI ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003843><TABLE
3844BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003845BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003846WIDTH="100%"
3847CELLPADDING="6"
3848><TR
3849><TD
3850><PRE
3851CLASS="PROGRAMLISTING"
3852>void xmlParsePI (<A
3853HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3854>xmlParserCtxtPtr</A
3855> ctxt);</PRE
3856></TD
3857></TR
3858></TABLE
3859><P
3860>parse an XML Processing Instruction.</P
3861><P
3862>[16] PI ::= '&lt;?' PITarget (S (Char* - (Char* '?&gt;' Char*)))? '?&gt;'</P
3863><P
3864>The processing is transfered to SAX once parsed.</P
3865><P
3866></P
3867><DIV
3868CLASS="INFORMALTABLE"
3869><P
3870></P
3871><TABLE
3872BORDER="0"
3873WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003874BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003875CELLSPACING="0"
3876CELLPADDING="4"
3877CLASS="CALSTABLE"
3878><TR
3879><TD
3880WIDTH="20%"
3881ALIGN="RIGHT"
3882VALIGN="TOP"
3883><TT
3884CLASS="PARAMETER"
3885><I
3886>ctxt</I
3887></TT
3888>&nbsp;:</TD
3889><TD
3890WIDTH="80%"
3891ALIGN="LEFT"
3892VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003893> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003894></TR
3895></TABLE
3896><P
3897></P
3898></DIV
3899></DIV
3900><HR><DIV
3901CLASS="REFSECT2"
3902><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003903NAME="AEN5661"
Daniel Veillard35925471999-02-25 08:46:07 +00003904></A
3905><H3
3906><A
3907NAME="XMLPARSENOTATIONDECL"
3908></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003909>xmlParseNotationDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003910><TABLE
3911BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003912BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003913WIDTH="100%"
3914CELLPADDING="6"
3915><TR
3916><TD
3917><PRE
3918CLASS="PROGRAMLISTING"
3919>void xmlParseNotationDecl (<A
3920HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3921>xmlParserCtxtPtr</A
3922> ctxt);</PRE
3923></TD
3924></TR
3925></TABLE
3926><P
3927>parse a notation declaration</P
3928><P
3929>[82] NotationDecl ::= '&lt;!NOTATION' S Name S (ExternalID | PublicID) S? '&gt;'</P
3930><P
3931>Hence there is actually 3 choices:
3932'PUBLIC' S PubidLiteral
3933'PUBLIC' S PubidLiteral S SystemLiteral
3934and 'SYSTEM' S SystemLiteral</P
3935><P
3936>See the NOTE on <A
3937HREF="gnome-xml-parserinternals.html#XMLPARSEEXTERNALID"
3938>xmlParseExternalID</A
3939>().</P
3940><P
3941></P
3942><DIV
3943CLASS="INFORMALTABLE"
3944><P
3945></P
3946><TABLE
3947BORDER="0"
3948WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00003949BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00003950CELLSPACING="0"
3951CELLPADDING="4"
3952CLASS="CALSTABLE"
3953><TR
3954><TD
3955WIDTH="20%"
3956ALIGN="RIGHT"
3957VALIGN="TOP"
3958><TT
3959CLASS="PARAMETER"
3960><I
3961>ctxt</I
3962></TT
3963>&nbsp;:</TD
3964><TD
3965WIDTH="80%"
3966ALIGN="LEFT"
3967VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003968> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00003969></TR
3970></TABLE
3971><P
3972></P
3973></DIV
3974></DIV
3975><HR><DIV
3976CLASS="REFSECT2"
3977><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00003978NAME="AEN5681"
Daniel Veillard35925471999-02-25 08:46:07 +00003979></A
3980><H3
3981><A
3982NAME="XMLPARSEENTITYDECL"
3983></A
Daniel Veillard14fff061999-06-22 21:49:07 +00003984>xmlParseEntityDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00003985><TABLE
3986BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00003987BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00003988WIDTH="100%"
3989CELLPADDING="6"
3990><TR
3991><TD
3992><PRE
3993CLASS="PROGRAMLISTING"
3994>void xmlParseEntityDecl (<A
3995HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
3996>xmlParserCtxtPtr</A
3997> ctxt);</PRE
3998></TD
3999></TR
4000></TABLE
4001><P
4002>parse &lt;!ENTITY declarations</P
4003><P
4004>[70] EntityDecl ::= GEDecl | PEDecl</P
4005><P
4006>[71] GEDecl ::= '&lt;!ENTITY' S Name S EntityDef S? '&gt;'</P
4007><P
4008>[72] PEDecl ::= '&lt;!ENTITY' S '%' S Name S PEDef S? '&gt;'</P
4009><P
4010>[73] EntityDef ::= EntityValue | (ExternalID NDataDecl?)</P
4011><P
4012>[74] PEDef ::= EntityValue | ExternalID</P
4013><P
4014>[76] NDataDecl ::= S 'NDATA' S Name</P
4015><P
4016></P
4017><DIV
4018CLASS="INFORMALTABLE"
4019><P
4020></P
4021><TABLE
4022BORDER="0"
4023WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004024BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004025CELLSPACING="0"
4026CELLPADDING="4"
4027CLASS="CALSTABLE"
4028><TR
4029><TD
4030WIDTH="20%"
4031ALIGN="RIGHT"
4032VALIGN="TOP"
4033><TT
4034CLASS="PARAMETER"
4035><I
4036>ctxt</I
4037></TT
4038>&nbsp;:</TD
4039><TD
4040WIDTH="80%"
4041ALIGN="LEFT"
4042VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004043> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004044></TR
4045></TABLE
4046><P
4047></P
4048></DIV
4049></DIV
4050><HR><DIV
4051CLASS="REFSECT2"
4052><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004053NAME="AEN5703"
Daniel Veillard35925471999-02-25 08:46:07 +00004054></A
4055><H3
4056><A
4057NAME="XMLPARSEDEFAULTDECL"
4058></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004059>xmlParseDefaultDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004060><TABLE
4061BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004062BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004063WIDTH="100%"
4064CELLPADDING="6"
4065><TR
4066><TD
4067><PRE
4068CLASS="PROGRAMLISTING"
4069>int xmlParseDefaultDecl (<A
4070HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4071>xmlParserCtxtPtr</A
4072> ctxt,
4073 <A
4074HREF="gnome-xml-tree.html#CHAR"
4075>CHAR</A
4076> **value);</PRE
4077></TD
4078></TR
4079></TABLE
4080><P
4081>Parse an attribute default declaration</P
4082><P
4083>[60] DefaultDecl ::= '<GTKDOCLINK
4084HREF="REQUIRED"
4085>REQUIRED</GTKDOCLINK
4086>' | '<GTKDOCLINK
4087HREF="IMPLIED"
4088>IMPLIED</GTKDOCLINK
4089>' | (('<GTKDOCLINK
4090HREF="FIXED"
4091>FIXED</GTKDOCLINK
4092>' S)? AttValue)</P
4093><P
4094></P
4095><DIV
4096CLASS="INFORMALTABLE"
4097><P
4098></P
4099><TABLE
4100BORDER="0"
4101WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004102BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004103CELLSPACING="0"
4104CELLPADDING="4"
4105CLASS="CALSTABLE"
4106><TR
4107><TD
4108WIDTH="20%"
4109ALIGN="RIGHT"
4110VALIGN="TOP"
4111><TT
4112CLASS="PARAMETER"
4113><I
4114>ctxt</I
4115></TT
4116>&nbsp;:</TD
4117><TD
4118WIDTH="80%"
4119ALIGN="LEFT"
4120VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004121> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004122></TR
4123><TR
4124><TD
4125WIDTH="20%"
4126ALIGN="RIGHT"
4127VALIGN="TOP"
4128><TT
4129CLASS="PARAMETER"
4130><I
4131>value</I
4132></TT
4133>&nbsp;:</TD
4134><TD
4135WIDTH="80%"
4136ALIGN="LEFT"
4137VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004138> Receive a possible fixed default value for the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004139></TR
4140><TR
4141><TD
4142WIDTH="20%"
4143ALIGN="RIGHT"
4144VALIGN="TOP"
4145><I
4146CLASS="EMPHASIS"
4147>Returns</I
4148> :</TD
4149><TD
4150WIDTH="80%"
4151ALIGN="LEFT"
4152VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004153> XML_ATTRIBUTE_NONE, XML_ATTRIBUTE_REQUIRED, XML_ATTRIBUTE_IMPLIED
4154or XML_ATTRIBUTE_FIXED. </TD
Daniel Veillard35925471999-02-25 08:46:07 +00004155></TR
4156></TABLE
4157><P
4158></P
4159></DIV
4160></DIV
4161><HR><DIV
4162CLASS="REFSECT2"
4163><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004164NAME="AEN5732"
Daniel Veillard35925471999-02-25 08:46:07 +00004165></A
4166><H3
4167><A
4168NAME="XMLPARSENOTATIONTYPE"
4169></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004170>xmlParseNotationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004171><TABLE
4172BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004173BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004174WIDTH="100%"
4175CELLPADDING="6"
4176><TR
4177><TD
4178><PRE
4179CLASS="PROGRAMLISTING"
4180><A
4181HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4182>xmlEnumerationPtr</A
4183> xmlParseNotationType (<A
4184HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4185>xmlParserCtxtPtr</A
4186> ctxt);</PRE
4187></TD
4188></TR
4189></TABLE
4190><P
4191>parse an Notation attribute type.</P
4192><P
4193>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4194><P
4195>Note: the leading 'NOTATION' S part has already being parsed...</P
4196><P
4197></P
4198><DIV
4199CLASS="INFORMALTABLE"
4200><P
4201></P
4202><TABLE
4203BORDER="0"
4204WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004205BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004206CELLSPACING="0"
4207CELLPADDING="4"
4208CLASS="CALSTABLE"
4209><TR
4210><TD
4211WIDTH="20%"
4212ALIGN="RIGHT"
4213VALIGN="TOP"
4214><TT
4215CLASS="PARAMETER"
4216><I
4217>ctxt</I
4218></TT
4219>&nbsp;:</TD
4220><TD
4221WIDTH="80%"
4222ALIGN="LEFT"
4223VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004224> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004225></TR
4226><TR
4227><TD
4228WIDTH="20%"
4229ALIGN="RIGHT"
4230VALIGN="TOP"
4231><I
4232CLASS="EMPHASIS"
4233>Returns</I
4234> :</TD
4235><TD
4236WIDTH="80%"
4237ALIGN="LEFT"
4238VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004239> the notation attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004240></TR
4241></TABLE
4242><P
4243></P
4244></DIV
4245></DIV
4246><HR><DIV
4247CLASS="REFSECT2"
4248><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004249NAME="AEN5755"
Daniel Veillard35925471999-02-25 08:46:07 +00004250></A
4251><H3
4252><A
4253NAME="XMLPARSEENUMERATIONTYPE"
4254></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004255>xmlParseEnumerationType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004256><TABLE
4257BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004258BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004259WIDTH="100%"
4260CELLPADDING="6"
4261><TR
4262><TD
4263><PRE
4264CLASS="PROGRAMLISTING"
4265><A
4266HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4267>xmlEnumerationPtr</A
4268> xmlParseEnumerationType (<A
4269HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4270>xmlParserCtxtPtr</A
4271> ctxt);</PRE
4272></TD
4273></TR
4274></TABLE
4275><P
4276>parse an Enumeration attribute type.</P
4277><P
4278>[59] Enumeration ::= '(' S? Nmtoken (S? '|' S? Nmtoken)* S? ')'</P
4279><P
4280></P
4281><DIV
4282CLASS="INFORMALTABLE"
4283><P
4284></P
4285><TABLE
4286BORDER="0"
4287WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004288BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004289CELLSPACING="0"
4290CELLPADDING="4"
4291CLASS="CALSTABLE"
4292><TR
4293><TD
4294WIDTH="20%"
4295ALIGN="RIGHT"
4296VALIGN="TOP"
4297><TT
4298CLASS="PARAMETER"
4299><I
4300>ctxt</I
4301></TT
4302>&nbsp;:</TD
4303><TD
4304WIDTH="80%"
4305ALIGN="LEFT"
4306VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004307> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004308></TR
4309><TR
4310><TD
4311WIDTH="20%"
4312ALIGN="RIGHT"
4313VALIGN="TOP"
4314><I
4315CLASS="EMPHASIS"
4316>Returns</I
4317> :</TD
4318><TD
4319WIDTH="80%"
4320ALIGN="LEFT"
4321VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004322> the enumeration attribute tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004323></TR
4324></TABLE
4325><P
4326></P
4327></DIV
4328></DIV
4329><HR><DIV
4330CLASS="REFSECT2"
4331><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004332NAME="AEN5777"
Daniel Veillard35925471999-02-25 08:46:07 +00004333></A
4334><H3
4335><A
4336NAME="XMLPARSEENUMERATEDTYPE"
4337></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004338>xmlParseEnumeratedType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004339><TABLE
4340BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004341BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004342WIDTH="100%"
4343CELLPADDING="6"
4344><TR
4345><TD
4346><PRE
4347CLASS="PROGRAMLISTING"
4348>int xmlParseEnumeratedType (<A
4349HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4350>xmlParserCtxtPtr</A
4351> ctxt,
4352 <A
4353HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4354>xmlEnumerationPtr</A
4355> *tree);</PRE
4356></TD
4357></TR
4358></TABLE
4359><P
4360>parse an Enumerated attribute type.</P
4361><P
4362>[57] EnumeratedType ::= NotationType | Enumeration</P
4363><P
4364>[58] NotationType ::= 'NOTATION' S '(' S? Name (S? '|' S? Name)* S? ')'</P
4365><P
4366></P
4367><DIV
4368CLASS="INFORMALTABLE"
4369><P
4370></P
4371><TABLE
4372BORDER="0"
4373WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004374BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004375CELLSPACING="0"
4376CELLPADDING="4"
4377CLASS="CALSTABLE"
4378><TR
4379><TD
4380WIDTH="20%"
4381ALIGN="RIGHT"
4382VALIGN="TOP"
4383><TT
4384CLASS="PARAMETER"
4385><I
4386>ctxt</I
4387></TT
4388>&nbsp;:</TD
4389><TD
4390WIDTH="80%"
4391ALIGN="LEFT"
4392VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004393> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004394></TR
4395><TR
4396><TD
4397WIDTH="20%"
4398ALIGN="RIGHT"
4399VALIGN="TOP"
4400><TT
4401CLASS="PARAMETER"
4402><I
4403>tree</I
4404></TT
4405>&nbsp;:</TD
4406><TD
4407WIDTH="80%"
4408ALIGN="LEFT"
4409VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004410> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004411></TR
4412><TR
4413><TD
4414WIDTH="20%"
4415ALIGN="RIGHT"
4416VALIGN="TOP"
4417><I
4418CLASS="EMPHASIS"
4419>Returns</I
4420> :</TD
4421><TD
4422WIDTH="80%"
4423ALIGN="LEFT"
4424VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004425> XML_ATTRIBUTE_ENUMERATION or XML_ATTRIBUTE_NOTATION</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004426></TR
4427></TABLE
4428><P
4429></P
4430></DIV
4431></DIV
4432><HR><DIV
4433CLASS="REFSECT2"
4434><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004435NAME="AEN5804"
Daniel Veillard35925471999-02-25 08:46:07 +00004436></A
4437><H3
4438><A
4439NAME="XMLPARSEATTRIBUTETYPE"
4440></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004441>xmlParseAttributeType ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004442><TABLE
4443BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004444BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004445WIDTH="100%"
4446CELLPADDING="6"
4447><TR
4448><TD
4449><PRE
4450CLASS="PROGRAMLISTING"
4451>int xmlParseAttributeType (<A
4452HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4453>xmlParserCtxtPtr</A
4454> ctxt,
4455 <A
4456HREF="gnome-xml-tree.html#XMLENUMERATIONPTR"
4457>xmlEnumerationPtr</A
4458> *tree);</PRE
4459></TD
4460></TR
4461></TABLE
4462><P
4463>parse the Attribute list def for an element</P
4464><P
4465>[54] AttType ::= StringType | TokenizedType | EnumeratedType</P
4466><P
4467>[55] StringType ::= 'CDATA'</P
4468><P
4469>[56] TokenizedType ::= 'ID' | 'IDREF' | 'IDREFS' | 'ENTITY' |
4470'ENTITIES' | 'NMTOKEN' | 'NMTOKENS'</P
4471><P
4472></P
4473><DIV
4474CLASS="INFORMALTABLE"
4475><P
4476></P
4477><TABLE
4478BORDER="0"
4479WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004480BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004481CELLSPACING="0"
4482CELLPADDING="4"
4483CLASS="CALSTABLE"
4484><TR
4485><TD
4486WIDTH="20%"
4487ALIGN="RIGHT"
4488VALIGN="TOP"
4489><TT
4490CLASS="PARAMETER"
4491><I
4492>ctxt</I
4493></TT
4494>&nbsp;:</TD
4495><TD
4496WIDTH="80%"
4497ALIGN="LEFT"
4498VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004499> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004500></TR
4501><TR
4502><TD
4503WIDTH="20%"
4504ALIGN="RIGHT"
4505VALIGN="TOP"
4506><TT
4507CLASS="PARAMETER"
4508><I
4509>tree</I
4510></TT
4511>&nbsp;:</TD
4512><TD
4513WIDTH="80%"
4514ALIGN="LEFT"
4515VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004516> the enumeration tree built while parsing</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004517></TR
4518><TR
4519><TD
4520WIDTH="20%"
4521ALIGN="RIGHT"
4522VALIGN="TOP"
4523><I
4524CLASS="EMPHASIS"
4525>Returns</I
4526> :</TD
4527><TD
4528WIDTH="80%"
4529ALIGN="LEFT"
4530VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004531>the attribute type</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004532></TR
4533></TABLE
4534><P
4535></P
4536></DIV
4537></DIV
4538><HR><DIV
4539CLASS="REFSECT2"
4540><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004541NAME="AEN5832"
Daniel Veillard35925471999-02-25 08:46:07 +00004542></A
4543><H3
4544><A
4545NAME="XMLPARSEATTRIBUTELISTDECL"
4546></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004547>xmlParseAttributeListDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004548><TABLE
4549BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004550BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004551WIDTH="100%"
4552CELLPADDING="6"
4553><TR
4554><TD
4555><PRE
4556CLASS="PROGRAMLISTING"
4557>void xmlParseAttributeListDecl (<A
4558HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4559>xmlParserCtxtPtr</A
4560> ctxt);</PRE
4561></TD
4562></TR
4563></TABLE
4564><P
4565>: parse the Attribute list def for an element</P
4566><P
4567>[52] AttlistDecl ::= '&lt;!ATTLIST' S Name AttDef* S? '&gt;'</P
4568><P
4569>[53] AttDef ::= S Name S AttType S DefaultDecl</P
4570><P
4571></P
4572><DIV
4573CLASS="INFORMALTABLE"
4574><P
4575></P
4576><TABLE
4577BORDER="0"
4578WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004579BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004580CELLSPACING="0"
4581CELLPADDING="4"
4582CLASS="CALSTABLE"
4583><TR
4584><TD
4585WIDTH="20%"
4586ALIGN="RIGHT"
4587VALIGN="TOP"
4588><TT
4589CLASS="PARAMETER"
4590><I
4591>ctxt</I
4592></TT
4593>&nbsp;:</TD
4594><TD
4595WIDTH="80%"
4596ALIGN="LEFT"
4597VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004598> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004599></TR
4600></TABLE
4601><P
4602></P
4603></DIV
4604></DIV
4605><HR><DIV
4606CLASS="REFSECT2"
4607><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004608NAME="AEN5850"
Daniel Veillard35925471999-02-25 08:46:07 +00004609></A
4610><H3
4611><A
4612NAME="XMLPARSEELEMENTMIXEDCONTENTDECL"
4613></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004614>xmlParseElementMixedContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004615><TABLE
4616BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004617BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004618WIDTH="100%"
4619CELLPADDING="6"
4620><TR
4621><TD
4622><PRE
4623CLASS="PROGRAMLISTING"
4624><A
4625HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4626>xmlElementContentPtr</A
4627> xmlParseElementMixedContentDecl
4628 (<A
4629HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4630>xmlParserCtxtPtr</A
4631> ctxt);</PRE
4632></TD
4633></TR
4634></TABLE
4635><P
4636>parse the declaration for a Mixed Element content
4637The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4638><P
4639>[51] Mixed ::= '(' S? '<GTKDOCLINK
4640HREF="PCDATA"
4641>PCDATA</GTKDOCLINK
4642>' (S? '|' S? Name)* S? ')*' |
4643'(' S? '<GTKDOCLINK
4644HREF="PCDATA"
4645>PCDATA</GTKDOCLINK
4646>' S? ')'</P
4647><P
4648></P
4649><DIV
4650CLASS="INFORMALTABLE"
4651><P
4652></P
4653><TABLE
4654BORDER="0"
4655WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004656BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004657CELLSPACING="0"
4658CELLPADDING="4"
4659CLASS="CALSTABLE"
4660><TR
4661><TD
4662WIDTH="20%"
4663ALIGN="RIGHT"
4664VALIGN="TOP"
4665><TT
4666CLASS="PARAMETER"
4667><I
4668>ctxt</I
4669></TT
4670>&nbsp;:</TD
4671><TD
4672WIDTH="80%"
4673ALIGN="LEFT"
4674VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004675> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004676></TR
4677><TR
4678><TD
4679WIDTH="20%"
4680ALIGN="RIGHT"
4681VALIGN="TOP"
4682><I
4683CLASS="EMPHASIS"
4684>Returns</I
4685> :</TD
4686><TD
4687WIDTH="80%"
4688ALIGN="LEFT"
4689VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004690> the list of the xmlElementContentPtr describing the element choices</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004691></TR
4692></TABLE
4693><P
4694></P
4695></DIV
4696></DIV
4697><HR><DIV
4698CLASS="REFSECT2"
4699><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004700NAME="AEN5874"
Daniel Veillard35925471999-02-25 08:46:07 +00004701></A
4702><H3
4703><A
4704NAME="XMLPARSEELEMENTCHILDRENCONTENTDECL"
4705></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004706>xmlParseElementChildrenContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004707><TABLE
4708BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004709BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004710WIDTH="100%"
4711CELLPADDING="6"
4712><TR
4713><TD
4714><PRE
4715CLASS="PROGRAMLISTING"
4716><A
4717HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4718>xmlElementContentPtr</A
4719> xmlParseElementChildrenContentDecl
4720 (<A
4721HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4722>xmlParserCtxtPtr</A
4723> ctxt);</PRE
4724></TD
4725></TR
4726></TABLE
4727><P
4728>parse the declaration for a Mixed Element content
4729The leading '(' and spaces have been skipped in xmlParseElementContentDecl</P
4730><P
4731>[47] children ::= (choice | seq) ('?' | '*' | '+')?</P
4732><P
4733>[48] cp ::= (Name | choice | seq) ('?' | '*' | '+')?</P
4734><P
4735>[49] choice ::= '(' S? cp ( S? '|' S? cp )* S? ')'</P
4736><P
4737>[50] seq ::= '(' S? cp ( S? ',' S? cp )* S? ')'</P
4738><P
4739></P
4740><DIV
4741CLASS="INFORMALTABLE"
4742><P
4743></P
4744><TABLE
4745BORDER="0"
4746WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004747BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004748CELLSPACING="0"
4749CELLPADDING="4"
4750CLASS="CALSTABLE"
4751><TR
4752><TD
4753WIDTH="20%"
4754ALIGN="RIGHT"
4755VALIGN="TOP"
4756><TT
4757CLASS="PARAMETER"
4758><I
4759>ctxt</I
4760></TT
4761>&nbsp;:</TD
4762><TD
4763WIDTH="80%"
4764ALIGN="LEFT"
4765VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004766> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004767></TR
4768><TR
4769><TD
4770WIDTH="20%"
4771ALIGN="RIGHT"
4772VALIGN="TOP"
4773><I
4774CLASS="EMPHASIS"
4775>Returns</I
4776> :</TD
4777><TD
4778WIDTH="80%"
4779ALIGN="LEFT"
4780VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004781> the tree of xmlElementContentPtr describing the element
4782hierarchy.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004783></TR
4784></TABLE
4785><P
4786></P
4787></DIV
4788></DIV
4789><HR><DIV
4790CLASS="REFSECT2"
4791><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004792NAME="AEN5899"
Daniel Veillard35925471999-02-25 08:46:07 +00004793></A
4794><H3
4795><A
4796NAME="XMLPARSEELEMENTCONTENTDECL"
4797></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004798>xmlParseElementContentDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004799><TABLE
4800BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004801BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004802WIDTH="100%"
4803CELLPADDING="6"
4804><TR
4805><TD
4806><PRE
4807CLASS="PROGRAMLISTING"
4808>int xmlParseElementContentDecl (<A
4809HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4810>xmlParserCtxtPtr</A
4811> ctxt,
4812 <A
4813HREF="gnome-xml-tree.html#CHAR"
4814>CHAR</A
4815> *name,
4816 <A
4817HREF="gnome-xml-tree.html#XMLELEMENTCONTENTPTR"
4818>xmlElementContentPtr</A
4819> *result);</PRE
4820></TD
4821></TR
4822></TABLE
4823><P
4824>parse the declaration for an Element content either Mixed or Children,
4825the cases EMPTY and ANY are handled directly in xmlParseElementDecl</P
4826><P
4827>[46] contentspec ::= 'EMPTY' | 'ANY' | Mixed | children</P
4828><P
4829></P
4830><DIV
4831CLASS="INFORMALTABLE"
4832><P
4833></P
4834><TABLE
4835BORDER="0"
4836WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004837BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004838CELLSPACING="0"
4839CELLPADDING="4"
4840CLASS="CALSTABLE"
4841><TR
4842><TD
4843WIDTH="20%"
4844ALIGN="RIGHT"
4845VALIGN="TOP"
4846><TT
4847CLASS="PARAMETER"
4848><I
4849>ctxt</I
4850></TT
4851>&nbsp;:</TD
4852><TD
4853WIDTH="80%"
4854ALIGN="LEFT"
4855VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004856> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004857></TR
4858><TR
4859><TD
4860WIDTH="20%"
4861ALIGN="RIGHT"
4862VALIGN="TOP"
4863><TT
4864CLASS="PARAMETER"
4865><I
4866>name</I
4867></TT
4868>&nbsp;:</TD
4869><TD
4870WIDTH="80%"
4871ALIGN="LEFT"
4872VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004873> the name of the element being defined.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004874></TR
4875><TR
4876><TD
4877WIDTH="20%"
4878ALIGN="RIGHT"
4879VALIGN="TOP"
4880><TT
4881CLASS="PARAMETER"
4882><I
4883>result</I
4884></TT
4885>&nbsp;:</TD
4886><TD
4887WIDTH="80%"
4888ALIGN="LEFT"
4889VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004890> the Element Content pointer will be stored here if any</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004891></TR
4892><TR
4893><TD
4894WIDTH="20%"
4895ALIGN="RIGHT"
4896VALIGN="TOP"
4897><I
4898CLASS="EMPHASIS"
4899>Returns</I
4900> :</TD
4901><TD
4902WIDTH="80%"
4903ALIGN="LEFT"
4904VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004905> the type of element content XML_ELEMENT_TYPE_xxx</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004906></TR
4907></TABLE
4908><P
4909></P
4910></DIV
4911></DIV
4912><HR><DIV
4913CLASS="REFSECT2"
4914><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004915NAME="AEN5930"
Daniel Veillard35925471999-02-25 08:46:07 +00004916></A
4917><H3
4918><A
4919NAME="XMLPARSEELEMENTDECL"
4920></A
Daniel Veillard14fff061999-06-22 21:49:07 +00004921>xmlParseElementDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00004922><TABLE
4923BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00004924BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00004925WIDTH="100%"
4926CELLPADDING="6"
4927><TR
4928><TD
4929><PRE
4930CLASS="PROGRAMLISTING"
4931>int xmlParseElementDecl (<A
4932HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
4933>xmlParserCtxtPtr</A
4934> ctxt);</PRE
4935></TD
4936></TR
4937></TABLE
4938><P
4939>parse an Element declaration.</P
4940><P
4941>[45] elementdecl ::= '&lt;!ELEMENT' S Name S contentspec S? '&gt;'</P
4942><P
4943>TODO There is a check [ VC: Unique Element Type Declaration ]</P
4944><P
4945></P
4946><DIV
4947CLASS="INFORMALTABLE"
4948><P
4949></P
4950><TABLE
4951BORDER="0"
4952WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00004953BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00004954CELLSPACING="0"
4955CELLPADDING="4"
4956CLASS="CALSTABLE"
4957><TR
4958><TD
4959WIDTH="20%"
4960ALIGN="RIGHT"
4961VALIGN="TOP"
4962><TT
4963CLASS="PARAMETER"
4964><I
4965>ctxt</I
4966></TT
4967>&nbsp;:</TD
4968><TD
4969WIDTH="80%"
4970ALIGN="LEFT"
4971VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004972> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004973></TR
4974><TR
4975><TD
4976WIDTH="20%"
4977ALIGN="RIGHT"
4978VALIGN="TOP"
4979><I
4980CLASS="EMPHASIS"
4981>Returns</I
4982> :</TD
4983><TD
4984WIDTH="80%"
4985ALIGN="LEFT"
4986VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004987>the type of the element, or -1 in case of error</TD
Daniel Veillard35925471999-02-25 08:46:07 +00004988></TR
4989></TABLE
4990><P
4991></P
4992></DIV
4993></DIV
4994><HR><DIV
4995CLASS="REFSECT2"
4996><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00004997NAME="AEN5952"
Daniel Veillard35925471999-02-25 08:46:07 +00004998></A
4999><H3
5000><A
5001NAME="XMLPARSEMARKUPDECL"
5002></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005003>xmlParseMarkupDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005004><TABLE
5005BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005006BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005007WIDTH="100%"
5008CELLPADDING="6"
5009><TR
5010><TD
5011><PRE
5012CLASS="PROGRAMLISTING"
5013>void xmlParseMarkupDecl (<A
5014HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5015>xmlParserCtxtPtr</A
5016> ctxt);</PRE
5017></TD
5018></TR
5019></TABLE
5020><P
5021>parse Markup declarations</P
5022><P
5023>[29] markupdecl ::= elementdecl | AttlistDecl | EntityDecl |
5024NotationDecl | PI | Comment</P
5025><P
5026>TODO There is a check [ VC: Proper Declaration/PE Nesting ]</P
5027><P
5028></P
5029><DIV
5030CLASS="INFORMALTABLE"
5031><P
5032></P
5033><TABLE
5034BORDER="0"
5035WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005036BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005037CELLSPACING="0"
5038CELLPADDING="4"
5039CLASS="CALSTABLE"
5040><TR
5041><TD
5042WIDTH="20%"
5043ALIGN="RIGHT"
5044VALIGN="TOP"
5045><TT
5046CLASS="PARAMETER"
5047><I
5048>ctxt</I
5049></TT
5050>&nbsp;:</TD
5051><TD
5052WIDTH="80%"
5053ALIGN="LEFT"
5054VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005055> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005056></TR
5057></TABLE
5058><P
5059></P
5060></DIV
5061></DIV
5062><HR><DIV
5063CLASS="REFSECT2"
5064><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005065NAME="AEN5970"
Daniel Veillard35925471999-02-25 08:46:07 +00005066></A
5067><H3
5068><A
5069NAME="XMLPARSECHARREF"
5070></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005071>xmlParseCharRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005072><TABLE
5073BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005074BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005075WIDTH="100%"
5076CELLPADDING="6"
5077><TR
5078><TD
5079><PRE
5080CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005081>int xmlParseCharRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005082HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5083>xmlParserCtxtPtr</A
5084> ctxt);</PRE
5085></TD
5086></TR
5087></TABLE
5088><P
5089>parse Reference declarations</P
5090><P
5091>[66] CharRef ::= '&amp;#' [0-9]+ ';' |
5092'&amp;<GTKDOCLINK
5093HREF="X"
5094>x</GTKDOCLINK
5095>' [0-9a-fA-F]+ ';'</P
5096><P
5097></P
5098><DIV
5099CLASS="INFORMALTABLE"
5100><P
5101></P
5102><TABLE
5103BORDER="0"
5104WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005105BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005106CELLSPACING="0"
5107CELLPADDING="4"
5108CLASS="CALSTABLE"
5109><TR
5110><TD
5111WIDTH="20%"
5112ALIGN="RIGHT"
5113VALIGN="TOP"
5114><TT
5115CLASS="PARAMETER"
5116><I
5117>ctxt</I
5118></TT
5119>&nbsp;:</TD
5120><TD
5121WIDTH="80%"
5122ALIGN="LEFT"
5123VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005124> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005125></TR
5126><TR
5127><TD
5128WIDTH="20%"
5129ALIGN="RIGHT"
5130VALIGN="TOP"
5131><I
5132CLASS="EMPHASIS"
5133>Returns</I
5134> :</TD
5135><TD
5136WIDTH="80%"
5137ALIGN="LEFT"
5138VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005139>the value parsed (as an int)</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005140></TR
5141></TABLE
5142><P
5143></P
5144></DIV
5145></DIV
5146><HR><DIV
5147CLASS="REFSECT2"
5148><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005149NAME="AEN5992"
Daniel Veillard35925471999-02-25 08:46:07 +00005150></A
5151><H3
5152><A
5153NAME="XMLPARSEENTITYREF"
5154></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005155>xmlParseEntityRef ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005156><TABLE
5157BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005158BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005159WIDTH="100%"
5160CELLPADDING="6"
5161><TR
5162><TD
5163><PRE
5164CLASS="PROGRAMLISTING"
5165><A
Daniel Veillard011b63c1999-06-02 17:44:04 +00005166HREF="gnome-xml-entities.html#XMLENTITYPTR"
5167>xmlEntityPtr</A
5168> xmlParseEntityRef (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005169HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5170>xmlParserCtxtPtr</A
5171> ctxt);</PRE
5172></TD
5173></TR
5174></TABLE
5175><P
5176>parse ENTITY references declarations</P
5177><P
5178>[68] EntityRef ::= '&amp;' Name ';'</P
5179><P
5180></P
5181><DIV
5182CLASS="INFORMALTABLE"
5183><P
5184></P
5185><TABLE
5186BORDER="0"
5187WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005188BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005189CELLSPACING="0"
5190CELLPADDING="4"
5191CLASS="CALSTABLE"
5192><TR
5193><TD
5194WIDTH="20%"
5195ALIGN="RIGHT"
5196VALIGN="TOP"
5197><TT
5198CLASS="PARAMETER"
5199><I
5200>ctxt</I
5201></TT
5202>&nbsp;:</TD
5203><TD
5204WIDTH="80%"
5205ALIGN="LEFT"
5206VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005207> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005208></TR
5209><TR
5210><TD
5211WIDTH="20%"
5212ALIGN="RIGHT"
5213VALIGN="TOP"
5214><I
5215CLASS="EMPHASIS"
5216>Returns</I
5217> :</TD
5218><TD
5219WIDTH="80%"
5220ALIGN="LEFT"
5221VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005222>the xmlEntityPtr if found, or NULL otherwise.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005223></TR
5224></TABLE
5225><P
5226></P
5227></DIV
5228></DIV
5229><HR><DIV
5230CLASS="REFSECT2"
5231><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005232NAME="AEN6014"
Daniel Veillard35925471999-02-25 08:46:07 +00005233></A
5234><H3
5235><A
5236NAME="XMLPARSEREFERENCE"
5237></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005238>xmlParseReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005239><TABLE
5240BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005241BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005242WIDTH="100%"
5243CELLPADDING="6"
5244><TR
5245><TD
5246><PRE
5247CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005248>void xmlParseReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005249HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5250>xmlParserCtxtPtr</A
5251> ctxt);</PRE
5252></TD
5253></TR
5254></TABLE
5255><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005256>parse and handle entity references in content, depending on the SAX
5257interface, this may end-up in a call to <GTKDOCLINK
5258HREF="CHARACTER"
5259>character</GTKDOCLINK
5260>() if this is a
5261CharRef, a predefined entity, if there is no <GTKDOCLINK
5262HREF="REFERENCE"
5263>reference</GTKDOCLINK
5264>() callback.
5265or if the parser was asked to switch to that mode.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005266><P
5267>[67] Reference ::= EntityRef | CharRef</P
5268><P
5269></P
5270><DIV
5271CLASS="INFORMALTABLE"
5272><P
5273></P
5274><TABLE
5275BORDER="0"
5276WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005277BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005278CELLSPACING="0"
5279CELLPADDING="4"
5280CLASS="CALSTABLE"
5281><TR
5282><TD
5283WIDTH="20%"
5284ALIGN="RIGHT"
5285VALIGN="TOP"
5286><TT
5287CLASS="PARAMETER"
5288><I
5289>ctxt</I
5290></TT
5291>&nbsp;:</TD
5292><TD
5293WIDTH="80%"
5294ALIGN="LEFT"
5295VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005296> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005297></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005298></TABLE
5299><P
5300></P
5301></DIV
5302></DIV
5303><HR><DIV
5304CLASS="REFSECT2"
5305><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005306NAME="AEN6033"
Daniel Veillard35925471999-02-25 08:46:07 +00005307></A
5308><H3
5309><A
5310NAME="XMLPARSEPEREFERENCE"
5311></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005312>xmlParsePEReference ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005313><TABLE
5314BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005315BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005316WIDTH="100%"
5317CELLPADDING="6"
5318><TR
5319><TD
5320><PRE
5321CLASS="PROGRAMLISTING"
Daniel Veillard011b63c1999-06-02 17:44:04 +00005322>void xmlParsePEReference (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005323HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5324>xmlParserCtxtPtr</A
5325> ctxt);</PRE
5326></TD
5327></TR
5328></TABLE
5329><P
Daniel Veillard011b63c1999-06-02 17:44:04 +00005330>parse PEReference declarations
5331The entity content is handled directly by pushing it's content as
5332a new input stream.</P
Daniel Veillard35925471999-02-25 08:46:07 +00005333><P
5334>[69] PEReference ::= '%' Name ';'</P
5335><P
5336></P
5337><DIV
5338CLASS="INFORMALTABLE"
5339><P
5340></P
5341><TABLE
5342BORDER="0"
5343WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005344BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005345CELLSPACING="0"
5346CELLPADDING="4"
5347CLASS="CALSTABLE"
5348><TR
5349><TD
5350WIDTH="20%"
5351ALIGN="RIGHT"
5352VALIGN="TOP"
5353><TT
5354CLASS="PARAMETER"
5355><I
5356>ctxt</I
5357></TT
5358>&nbsp;:</TD
5359><TD
5360WIDTH="80%"
5361ALIGN="LEFT"
5362VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005363> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005364></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005365></TABLE
5366><P
5367></P
5368></DIV
5369></DIV
5370><HR><DIV
5371CLASS="REFSECT2"
5372><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005373NAME="AEN6050"
Daniel Veillard35925471999-02-25 08:46:07 +00005374></A
5375><H3
5376><A
5377NAME="XMLPARSEDOCTYPEDECL"
5378></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005379>xmlParseDocTypeDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005380><TABLE
5381BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005382BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005383WIDTH="100%"
5384CELLPADDING="6"
5385><TR
5386><TD
5387><PRE
5388CLASS="PROGRAMLISTING"
5389>void xmlParseDocTypeDecl (<A
5390HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5391>xmlParserCtxtPtr</A
5392> ctxt);</PRE
5393></TD
5394></TR
5395></TABLE
5396><P
5397>parse a DOCTYPE declaration</P
5398><P
5399>[28] doctypedecl ::= '&lt;!DOCTYPE' S Name (S ExternalID)? S?
5400('[' (markupdecl | PEReference | S)* ']' S?)? '&gt;'</P
5401><P
5402></P
5403><DIV
5404CLASS="INFORMALTABLE"
5405><P
5406></P
5407><TABLE
5408BORDER="0"
5409WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005410BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005411CELLSPACING="0"
5412CELLPADDING="4"
5413CLASS="CALSTABLE"
5414><TR
5415><TD
5416WIDTH="20%"
5417ALIGN="RIGHT"
5418VALIGN="TOP"
5419><TT
5420CLASS="PARAMETER"
5421><I
5422>ctxt</I
5423></TT
5424>&nbsp;:</TD
5425><TD
5426WIDTH="80%"
5427ALIGN="LEFT"
5428VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005429> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005430></TR
5431></TABLE
5432><P
5433></P
5434></DIV
5435></DIV
5436><HR><DIV
5437CLASS="REFSECT2"
5438><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005439NAME="AEN6067"
Daniel Veillard35925471999-02-25 08:46:07 +00005440></A
5441><H3
5442><A
5443NAME="XMLPARSEATTRIBUTE"
5444></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005445>xmlParseAttribute ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005446><TABLE
5447BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005448BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005449WIDTH="100%"
5450CELLPADDING="6"
5451><TR
5452><TD
5453><PRE
5454CLASS="PROGRAMLISTING"
5455><A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005456HREF="gnome-xml-tree.html#CHAR"
5457>CHAR</A
5458>* xmlParseAttribute (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005459HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5460>xmlParserCtxtPtr</A
5461> ctxt,
5462 <A
Daniel Veillard5099ae81999-04-21 20:12:07 +00005463HREF="gnome-xml-tree.html#CHAR"
5464>CHAR</A
5465> **value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005466></TD
5467></TR
5468></TABLE
5469><P
5470>parse an attribute</P
5471><P
5472>[41] Attribute ::= Name Eq AttValue</P
5473><P
5474>[25] Eq ::= S? '=' S?</P
5475><P
5476>With namespace:</P
5477><P
5478>[NS 11] Attribute ::= QName Eq AttValue</P
5479><P
5480>Also the case QName == xmlns:??? is handled independently as a namespace
5481definition.</P
5482><P
5483></P
5484><DIV
5485CLASS="INFORMALTABLE"
5486><P
5487></P
5488><TABLE
5489BORDER="0"
5490WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005491BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005492CELLSPACING="0"
5493CELLPADDING="4"
5494CLASS="CALSTABLE"
5495><TR
5496><TD
5497WIDTH="20%"
5498ALIGN="RIGHT"
5499VALIGN="TOP"
5500><TT
5501CLASS="PARAMETER"
5502><I
5503>ctxt</I
5504></TT
5505>&nbsp;:</TD
5506><TD
5507WIDTH="80%"
5508ALIGN="LEFT"
5509VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005510> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005511></TR
5512><TR
5513><TD
5514WIDTH="20%"
5515ALIGN="RIGHT"
5516VALIGN="TOP"
5517><TT
5518CLASS="PARAMETER"
5519><I
Daniel Veillard5099ae81999-04-21 20:12:07 +00005520>value</I
Daniel Veillard35925471999-02-25 08:46:07 +00005521></TT
5522>&nbsp;:</TD
5523><TD
5524WIDTH="80%"
5525ALIGN="LEFT"
5526VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005527> a CHAR ** used to store the value of the attribute</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005528></TR
5529><TR
5530><TD
5531WIDTH="20%"
5532ALIGN="RIGHT"
5533VALIGN="TOP"
5534><I
5535CLASS="EMPHASIS"
5536>Returns</I
5537> :</TD
5538><TD
5539WIDTH="80%"
5540ALIGN="LEFT"
5541VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005542>the attribute name, and the value in *value.</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005543></TR
5544></TABLE
5545><P
5546></P
5547></DIV
5548></DIV
5549><HR><DIV
5550CLASS="REFSECT2"
5551><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005552NAME="AEN6098"
Daniel Veillard35925471999-02-25 08:46:07 +00005553></A
5554><H3
5555><A
5556NAME="XMLPARSESTARTTAG"
5557></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005558>xmlParseStartTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005559><TABLE
5560BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005561BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005562WIDTH="100%"
5563CELLPADDING="6"
5564><TR
5565><TD
5566><PRE
5567CLASS="PROGRAMLISTING"
Daniel Veillard14fff061999-06-22 21:49:07 +00005568><A
5569HREF="gnome-xml-tree.html#CHAR"
5570>CHAR</A
5571>* xmlParseStartTag (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005572HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5573>xmlParserCtxtPtr</A
5574> ctxt);</PRE
5575></TD
5576></TR
5577></TABLE
5578><P
5579>parse a start of tag either for rule element or
5580EmptyElement. In both case we don't parse the tag closing chars.</P
5581><P
5582>[40] STag ::= '&lt;' Name (S Attribute)* S? '&gt;'</P
5583><P
5584>[44] EmptyElemTag ::= '&lt;' Name (S Attribute)* S? '/&gt;'</P
5585><P
5586>With namespace:</P
5587><P
5588>[NS 8] STag ::= '&lt;' QName (S Attribute)* S? '&gt;'</P
5589><P
5590>[NS 10] EmptyElement ::= '&lt;' QName (S Attribute)* S? '/&gt;'</P
5591><P
5592></P
5593><DIV
5594CLASS="INFORMALTABLE"
5595><P
5596></P
5597><TABLE
5598BORDER="0"
5599WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005600BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005601CELLSPACING="0"
5602CELLPADDING="4"
5603CLASS="CALSTABLE"
5604><TR
5605><TD
5606WIDTH="20%"
5607ALIGN="RIGHT"
5608VALIGN="TOP"
5609><TT
5610CLASS="PARAMETER"
5611><I
5612>ctxt</I
5613></TT
5614>&nbsp;:</TD
5615><TD
5616WIDTH="80%"
5617ALIGN="LEFT"
5618VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005619> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005620></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00005621><TR
5622><TD
5623WIDTH="20%"
5624ALIGN="RIGHT"
5625VALIGN="TOP"
5626><I
5627CLASS="EMPHASIS"
5628>Returns</I
5629> :</TD
5630><TD
5631WIDTH="80%"
5632ALIGN="LEFT"
5633VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005634>the element name parsed</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005635></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005636></TABLE
5637><P
5638></P
5639></DIV
5640></DIV
5641><HR><DIV
5642CLASS="REFSECT2"
5643><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005644NAME="AEN6124"
Daniel Veillard35925471999-02-25 08:46:07 +00005645></A
5646><H3
5647><A
5648NAME="XMLPARSEENDTAG"
5649></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005650>xmlParseEndTag ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005651><TABLE
5652BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005653BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005654WIDTH="100%"
5655CELLPADDING="6"
5656><TR
5657><TD
5658><PRE
5659CLASS="PROGRAMLISTING"
5660>void xmlParseEndTag (<A
5661HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5662>xmlParserCtxtPtr</A
Daniel Veillard14fff061999-06-22 21:49:07 +00005663> ctxt,
5664 <A
5665HREF="gnome-xml-tree.html#CHAR"
5666>CHAR</A
5667> *tagname);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00005668></TD
5669></TR
5670></TABLE
5671><P
5672>parse an end of tag</P
5673><P
5674>[42] ETag ::= '&lt;/' Name S? '&gt;'</P
5675><P
5676>With namespace</P
5677><P
Daniel Veillard5099ae81999-04-21 20:12:07 +00005678>[NS 9] ETag ::= '&lt;/' QName S? '&gt;'</P
Daniel Veillard35925471999-02-25 08:46:07 +00005679><P
5680></P
5681><DIV
5682CLASS="INFORMALTABLE"
5683><P
5684></P
5685><TABLE
5686BORDER="0"
5687WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005688BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005689CELLSPACING="0"
5690CELLPADDING="4"
5691CLASS="CALSTABLE"
5692><TR
5693><TD
5694WIDTH="20%"
5695ALIGN="RIGHT"
5696VALIGN="TOP"
5697><TT
5698CLASS="PARAMETER"
5699><I
5700>ctxt</I
5701></TT
5702>&nbsp;:</TD
5703><TD
5704WIDTH="80%"
5705ALIGN="LEFT"
5706VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005707> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005708></TR
Daniel Veillard14fff061999-06-22 21:49:07 +00005709><TR
5710><TD
5711WIDTH="20%"
5712ALIGN="RIGHT"
5713VALIGN="TOP"
5714><TT
5715CLASS="PARAMETER"
5716><I
5717>tagname</I
5718></TT
5719>&nbsp;:</TD
5720><TD
5721WIDTH="80%"
5722ALIGN="LEFT"
5723VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005724> the tag name as parsed in the opening tag.</TD
Daniel Veillard14fff061999-06-22 21:49:07 +00005725></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005726></TABLE
5727><P
5728></P
5729></DIV
5730></DIV
5731><HR><DIV
5732CLASS="REFSECT2"
5733><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005734NAME="AEN6148"
Daniel Veillard35925471999-02-25 08:46:07 +00005735></A
5736><H3
5737><A
5738NAME="XMLPARSECDSECT"
5739></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005740>xmlParseCDSect ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005741><TABLE
5742BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005743BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005744WIDTH="100%"
5745CELLPADDING="6"
5746><TR
5747><TD
5748><PRE
5749CLASS="PROGRAMLISTING"
5750>void xmlParseCDSect (<A
5751HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5752>xmlParserCtxtPtr</A
5753> ctxt);</PRE
5754></TD
5755></TR
5756></TABLE
5757><P
5758>Parse escaped pure raw content.</P
5759><P
5760>[18] CDSect ::= CDStart CData CDEnd</P
5761><P
5762>[19] CDStart ::= '&lt;![CDATA['</P
5763><P
5764>[20] Data ::= (Char* - (Char* ']]&gt;' Char*))</P
5765><P
5766>[21] CDEnd ::= ']]&gt;'</P
5767><P
5768></P
5769><DIV
5770CLASS="INFORMALTABLE"
5771><P
5772></P
5773><TABLE
5774BORDER="0"
5775WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005776BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005777CELLSPACING="0"
5778CELLPADDING="4"
5779CLASS="CALSTABLE"
5780><TR
5781><TD
5782WIDTH="20%"
5783ALIGN="RIGHT"
5784VALIGN="TOP"
5785><TT
5786CLASS="PARAMETER"
5787><I
5788>ctxt</I
5789></TT
5790>&nbsp;:</TD
5791><TD
5792WIDTH="80%"
5793ALIGN="LEFT"
5794VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005795> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005796></TR
5797></TABLE
5798><P
5799></P
5800></DIV
5801></DIV
5802><HR><DIV
5803CLASS="REFSECT2"
5804><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005805NAME="AEN6168"
Daniel Veillard35925471999-02-25 08:46:07 +00005806></A
5807><H3
5808><A
5809NAME="XMLPARSECONTENT"
5810></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005811>xmlParseContent ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005812><TABLE
5813BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005814BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005815WIDTH="100%"
5816CELLPADDING="6"
5817><TR
5818><TD
5819><PRE
5820CLASS="PROGRAMLISTING"
5821>void xmlParseContent (<A
5822HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5823>xmlParserCtxtPtr</A
5824> ctxt);</PRE
5825></TD
5826></TR
5827></TABLE
5828><P
5829>Parse a content:</P
5830><P
5831>[43] content ::= (element | CharData | Reference | CDSect | PI | Comment)*</P
5832><P
5833></P
5834><DIV
5835CLASS="INFORMALTABLE"
5836><P
5837></P
5838><TABLE
5839BORDER="0"
5840WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005841BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005842CELLSPACING="0"
5843CELLPADDING="4"
5844CLASS="CALSTABLE"
5845><TR
5846><TD
5847WIDTH="20%"
5848ALIGN="RIGHT"
5849VALIGN="TOP"
5850><TT
5851CLASS="PARAMETER"
5852><I
5853>ctxt</I
5854></TT
5855>&nbsp;:</TD
5856><TD
5857WIDTH="80%"
5858ALIGN="LEFT"
5859VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005860> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005861></TR
5862></TABLE
5863><P
5864></P
5865></DIV
5866></DIV
5867><HR><DIV
5868CLASS="REFSECT2"
5869><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005870NAME="AEN6185"
Daniel Veillard35925471999-02-25 08:46:07 +00005871></A
5872><H3
5873><A
5874NAME="XMLPARSEELEMENT"
5875></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005876>xmlParseElement ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005877><TABLE
5878BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005879BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005880WIDTH="100%"
5881CELLPADDING="6"
5882><TR
5883><TD
5884><PRE
5885CLASS="PROGRAMLISTING"
Daniel Veillard5099ae81999-04-21 20:12:07 +00005886>void xmlParseElement (<A
Daniel Veillard35925471999-02-25 08:46:07 +00005887HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5888>xmlParserCtxtPtr</A
5889> ctxt);</PRE
5890></TD
5891></TR
5892></TABLE
5893><P
5894>parse an XML element, this is highly recursive</P
5895><P
5896>[39] element ::= EmptyElemTag | STag content ETag</P
5897><P
5898>[41] Attribute ::= Name Eq AttValue</P
5899><P
5900></P
5901><DIV
5902CLASS="INFORMALTABLE"
5903><P
5904></P
5905><TABLE
5906BORDER="0"
5907WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005908BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005909CELLSPACING="0"
5910CELLPADDING="4"
5911CLASS="CALSTABLE"
5912><TR
5913><TD
5914WIDTH="20%"
5915ALIGN="RIGHT"
5916VALIGN="TOP"
5917><TT
5918CLASS="PARAMETER"
5919><I
5920>ctxt</I
5921></TT
5922>&nbsp;:</TD
5923><TD
5924WIDTH="80%"
5925ALIGN="LEFT"
5926VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005927> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005928></TR
Daniel Veillard35925471999-02-25 08:46:07 +00005929></TABLE
5930><P
5931></P
5932></DIV
5933></DIV
5934><HR><DIV
5935CLASS="REFSECT2"
5936><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005937NAME="AEN6203"
Daniel Veillard35925471999-02-25 08:46:07 +00005938></A
5939><H3
5940><A
5941NAME="XMLPARSEVERSIONNUM"
5942></A
Daniel Veillard14fff061999-06-22 21:49:07 +00005943>xmlParseVersionNum ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00005944><TABLE
5945BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00005946BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00005947WIDTH="100%"
5948CELLPADDING="6"
5949><TR
5950><TD
5951><PRE
5952CLASS="PROGRAMLISTING"
5953><A
5954HREF="gnome-xml-tree.html#CHAR"
5955>CHAR</A
5956>* xmlParseVersionNum (<A
5957HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
5958>xmlParserCtxtPtr</A
5959> ctxt);</PRE
5960></TD
5961></TR
5962></TABLE
5963><P
5964>parse the XML version value.</P
5965><P
5966>[26] VersionNum ::= ([a-zA-Z0-9_.:] | '-')+</P
5967><P
5968></P
5969><DIV
5970CLASS="INFORMALTABLE"
5971><P
5972></P
5973><TABLE
5974BORDER="0"
5975WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00005976BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00005977CELLSPACING="0"
5978CELLPADDING="4"
5979CLASS="CALSTABLE"
5980><TR
5981><TD
5982WIDTH="20%"
5983ALIGN="RIGHT"
5984VALIGN="TOP"
5985><TT
5986CLASS="PARAMETER"
5987><I
5988>ctxt</I
5989></TT
5990>&nbsp;:</TD
5991><TD
5992WIDTH="80%"
5993ALIGN="LEFT"
5994VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00005995> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00005996></TR
5997><TR
5998><TD
5999WIDTH="20%"
6000ALIGN="RIGHT"
6001VALIGN="TOP"
6002><I
6003CLASS="EMPHASIS"
6004>Returns</I
6005> :</TD
6006><TD
6007WIDTH="80%"
6008ALIGN="LEFT"
6009VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006010>the string giving the XML version number, or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006011></TR
6012></TABLE
6013><P
6014></P
6015></DIV
6016></DIV
6017><HR><DIV
6018CLASS="REFSECT2"
6019><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006020NAME="AEN6225"
Daniel Veillard35925471999-02-25 08:46:07 +00006021></A
6022><H3
6023><A
6024NAME="XMLPARSEVERSIONINFO"
6025></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006026>xmlParseVersionInfo ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006027><TABLE
6028BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006029BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006030WIDTH="100%"
6031CELLPADDING="6"
6032><TR
6033><TD
6034><PRE
6035CLASS="PROGRAMLISTING"
6036><A
6037HREF="gnome-xml-tree.html#CHAR"
6038>CHAR</A
6039>* xmlParseVersionInfo (<A
6040HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6041>xmlParserCtxtPtr</A
6042> ctxt);</PRE
6043></TD
6044></TR
6045></TABLE
6046><P
6047>parse the XML version.</P
6048><P
6049>[24] VersionInfo ::= S 'version' Eq (' VersionNum ' | " VersionNum ")</P
6050><P
6051>[25] Eq ::= S? '=' S?</P
6052><P
6053></P
6054><DIV
6055CLASS="INFORMALTABLE"
6056><P
6057></P
6058><TABLE
6059BORDER="0"
6060WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006061BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006062CELLSPACING="0"
6063CELLPADDING="4"
6064CLASS="CALSTABLE"
6065><TR
6066><TD
6067WIDTH="20%"
6068ALIGN="RIGHT"
6069VALIGN="TOP"
6070><TT
6071CLASS="PARAMETER"
6072><I
6073>ctxt</I
6074></TT
6075>&nbsp;:</TD
6076><TD
6077WIDTH="80%"
6078ALIGN="LEFT"
6079VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006080> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006081></TR
6082><TR
6083><TD
6084WIDTH="20%"
6085ALIGN="RIGHT"
6086VALIGN="TOP"
6087><I
6088CLASS="EMPHASIS"
6089>Returns</I
6090> :</TD
6091><TD
6092WIDTH="80%"
6093ALIGN="LEFT"
6094VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006095>the version string, e.g. "1.0"</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006096></TR
6097></TABLE
6098><P
6099></P
6100></DIV
6101></DIV
6102><HR><DIV
6103CLASS="REFSECT2"
6104><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006105NAME="AEN6248"
Daniel Veillard35925471999-02-25 08:46:07 +00006106></A
6107><H3
6108><A
6109NAME="XMLPARSEENCNAME"
6110></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006111>xmlParseEncName ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006112><TABLE
6113BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006114BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006115WIDTH="100%"
6116CELLPADDING="6"
6117><TR
6118><TD
6119><PRE
6120CLASS="PROGRAMLISTING"
6121><A
6122HREF="gnome-xml-tree.html#CHAR"
6123>CHAR</A
6124>* xmlParseEncName (<A
6125HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6126>xmlParserCtxtPtr</A
6127> ctxt);</PRE
6128></TD
6129></TR
6130></TABLE
6131><P
6132>parse the XML encoding name</P
6133><P
6134>[81] EncName ::= [A-Za-z] ([A-Za-z0-9._] | '-')*</P
6135><P
6136></P
6137><DIV
6138CLASS="INFORMALTABLE"
6139><P
6140></P
6141><TABLE
6142BORDER="0"
6143WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006144BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006145CELLSPACING="0"
6146CELLPADDING="4"
6147CLASS="CALSTABLE"
6148><TR
6149><TD
6150WIDTH="20%"
6151ALIGN="RIGHT"
6152VALIGN="TOP"
6153><TT
6154CLASS="PARAMETER"
6155><I
6156>ctxt</I
6157></TT
6158>&nbsp;:</TD
6159><TD
6160WIDTH="80%"
6161ALIGN="LEFT"
6162VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006163> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006164></TR
6165><TR
6166><TD
6167WIDTH="20%"
6168ALIGN="RIGHT"
6169VALIGN="TOP"
6170><I
6171CLASS="EMPHASIS"
6172>Returns</I
6173> :</TD
6174><TD
6175WIDTH="80%"
6176ALIGN="LEFT"
6177VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006178>the encoding name value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006179></TR
6180></TABLE
6181><P
6182></P
6183></DIV
6184></DIV
6185><HR><DIV
6186CLASS="REFSECT2"
6187><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006188NAME="AEN6270"
Daniel Veillard35925471999-02-25 08:46:07 +00006189></A
6190><H3
6191><A
6192NAME="XMLPARSEENCODINGDECL"
6193></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006194>xmlParseEncodingDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006195><TABLE
6196BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006197BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006198WIDTH="100%"
6199CELLPADDING="6"
6200><TR
6201><TD
6202><PRE
6203CLASS="PROGRAMLISTING"
6204><A
6205HREF="gnome-xml-tree.html#CHAR"
6206>CHAR</A
6207>* xmlParseEncodingDecl (<A
6208HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6209>xmlParserCtxtPtr</A
6210> ctxt);</PRE
6211></TD
6212></TR
6213></TABLE
6214><P
6215>parse the XML encoding declaration</P
6216><P
6217>[80] EncodingDecl ::= S 'encoding' Eq ('"' EncName '"' | "'" EncName "'")</P
6218><P
6219>TODO: this should setup the conversion filters.</P
6220><P
6221></P
6222><DIV
6223CLASS="INFORMALTABLE"
6224><P
6225></P
6226><TABLE
6227BORDER="0"
6228WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006229BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006230CELLSPACING="0"
6231CELLPADDING="4"
6232CLASS="CALSTABLE"
6233><TR
6234><TD
6235WIDTH="20%"
6236ALIGN="RIGHT"
6237VALIGN="TOP"
6238><TT
6239CLASS="PARAMETER"
6240><I
6241>ctxt</I
6242></TT
6243>&nbsp;:</TD
6244><TD
6245WIDTH="80%"
6246ALIGN="LEFT"
6247VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006248> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006249></TR
6250><TR
6251><TD
6252WIDTH="20%"
6253ALIGN="RIGHT"
6254VALIGN="TOP"
6255><I
6256CLASS="EMPHASIS"
6257>Returns</I
6258> :</TD
6259><TD
6260WIDTH="80%"
6261ALIGN="LEFT"
6262VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006263>the encoding value or NULL</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006264></TR
6265></TABLE
6266><P
6267></P
6268></DIV
6269></DIV
6270><HR><DIV
6271CLASS="REFSECT2"
6272><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006273NAME="AEN6293"
Daniel Veillard35925471999-02-25 08:46:07 +00006274></A
6275><H3
6276><A
6277NAME="XMLPARSESDDECL"
6278></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006279>xmlParseSDDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006280><TABLE
6281BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006282BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006283WIDTH="100%"
6284CELLPADDING="6"
6285><TR
6286><TD
6287><PRE
6288CLASS="PROGRAMLISTING"
6289>int xmlParseSDDecl (<A
6290HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6291>xmlParserCtxtPtr</A
6292> ctxt);</PRE
6293></TD
6294></TR
6295></TABLE
6296><P
6297>parse the XML standalone declaration</P
6298><P
6299>[32] SDDecl ::= S 'standalone' Eq
6300(("'" ('yes' | 'no') "'") | ('"' ('yes' | 'no')'"'))</P
6301><P
6302></P
6303><DIV
6304CLASS="INFORMALTABLE"
6305><P
6306></P
6307><TABLE
6308BORDER="0"
6309WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006310BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006311CELLSPACING="0"
6312CELLPADDING="4"
6313CLASS="CALSTABLE"
6314><TR
6315><TD
6316WIDTH="20%"
6317ALIGN="RIGHT"
6318VALIGN="TOP"
6319><TT
6320CLASS="PARAMETER"
6321><I
6322>ctxt</I
6323></TT
6324>&nbsp;:</TD
6325><TD
6326WIDTH="80%"
6327ALIGN="LEFT"
6328VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006329> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006330></TR
6331><TR
6332><TD
6333WIDTH="20%"
6334ALIGN="RIGHT"
6335VALIGN="TOP"
6336><I
6337CLASS="EMPHASIS"
6338>Returns</I
6339> :</TD
6340><TD
6341WIDTH="80%"
6342ALIGN="LEFT"
6343VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006344>1 if standalone, 0 otherwise</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006345></TR
6346></TABLE
6347><P
6348></P
6349></DIV
6350></DIV
6351><HR><DIV
6352CLASS="REFSECT2"
6353><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006354NAME="AEN6314"
Daniel Veillard35925471999-02-25 08:46:07 +00006355></A
6356><H3
6357><A
6358NAME="XMLPARSEXMLDECL"
6359></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006360>xmlParseXMLDecl ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006361><TABLE
6362BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006363BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006364WIDTH="100%"
6365CELLPADDING="6"
6366><TR
6367><TD
6368><PRE
6369CLASS="PROGRAMLISTING"
6370>void xmlParseXMLDecl (<A
6371HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6372>xmlParserCtxtPtr</A
6373> ctxt);</PRE
6374></TD
6375></TR
6376></TABLE
6377><P
6378>parse an XML declaration header</P
6379><P
6380>[23] XMLDecl ::= '&lt;?xml' VersionInfo EncodingDecl? SDDecl? S? '?&gt;'</P
6381><P
6382></P
6383><DIV
6384CLASS="INFORMALTABLE"
6385><P
6386></P
6387><TABLE
6388BORDER="0"
6389WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006390BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006391CELLSPACING="0"
6392CELLPADDING="4"
6393CLASS="CALSTABLE"
6394><TR
6395><TD
6396WIDTH="20%"
6397ALIGN="RIGHT"
6398VALIGN="TOP"
6399><TT
6400CLASS="PARAMETER"
6401><I
6402>ctxt</I
6403></TT
6404>&nbsp;:</TD
6405><TD
6406WIDTH="80%"
6407ALIGN="LEFT"
6408VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006409> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006410></TR
6411></TABLE
6412><P
6413></P
6414></DIV
6415></DIV
6416><HR><DIV
6417CLASS="REFSECT2"
6418><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006419NAME="AEN6331"
Daniel Veillard35925471999-02-25 08:46:07 +00006420></A
6421><H3
6422><A
6423NAME="XMLPARSEMISC"
6424></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006425>xmlParseMisc ()</H3
Daniel Veillard35925471999-02-25 08:46:07 +00006426><TABLE
6427BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006428BGCOLOR="#D6E8FF"
Daniel Veillard35925471999-02-25 08:46:07 +00006429WIDTH="100%"
6430CELLPADDING="6"
6431><TR
6432><TD
6433><PRE
6434CLASS="PROGRAMLISTING"
6435>void xmlParseMisc (<A
6436HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6437>xmlParserCtxtPtr</A
6438> ctxt);</PRE
6439></TD
6440></TR
6441></TABLE
6442><P
6443>parse an XML Misc* optionnal field.</P
6444><P
6445>[27] Misc ::= Comment | PI | S</P
6446><P
6447></P
6448><DIV
6449CLASS="INFORMALTABLE"
6450><P
6451></P
6452><TABLE
6453BORDER="0"
6454WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006455BGCOLOR="#FFD0D0"
Daniel Veillard35925471999-02-25 08:46:07 +00006456CELLSPACING="0"
6457CELLPADDING="4"
6458CLASS="CALSTABLE"
6459><TR
6460><TD
6461WIDTH="20%"
6462ALIGN="RIGHT"
6463VALIGN="TOP"
6464><TT
6465CLASS="PARAMETER"
6466><I
6467>ctxt</I
6468></TT
6469>&nbsp;:</TD
6470><TD
6471WIDTH="80%"
6472ALIGN="LEFT"
6473VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006474> an XML parser context</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006475></TR
6476></TABLE
6477><P
6478></P
6479></DIV
6480></DIV
Daniel Veillard011b63c1999-06-02 17:44:04 +00006481><HR><DIV
6482CLASS="REFSECT2"
6483><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006484NAME="AEN6348"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006485></A
6486><H3
6487><A
6488NAME="XML-SUBSTITUTE-NONE"
6489></A
6490>XML_SUBSTITUTE_NONE</H3
6491><TABLE
6492BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006493BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006494WIDTH="100%"
6495CELLPADDING="6"
6496><TR
6497><TD
6498><PRE
6499CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006500>#define XML_SUBSTITUTE_NONE 0</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00006501></TD
6502></TR
6503></TABLE
6504><P
6505></P
6506></DIV
6507><HR><DIV
6508CLASS="REFSECT2"
6509><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006510NAME="AEN6353"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006511></A
6512><H3
6513><A
6514NAME="XML-SUBSTITUTE-REF"
6515></A
6516>XML_SUBSTITUTE_REF</H3
6517><TABLE
6518BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006519BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006520WIDTH="100%"
6521CELLPADDING="6"
6522><TR
6523><TD
6524><PRE
6525CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006526>#define XML_SUBSTITUTE_REF 1</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00006527></TD
6528></TR
6529></TABLE
6530><P
6531></P
6532></DIV
6533><HR><DIV
6534CLASS="REFSECT2"
6535><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006536NAME="AEN6358"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006537></A
6538><H3
6539><A
6540NAME="XML-SUBSTITUTE-PEREF"
6541></A
6542>XML_SUBSTITUTE_PEREF</H3
6543><TABLE
6544BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006545BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006546WIDTH="100%"
6547CELLPADDING="6"
6548><TR
6549><TD
6550><PRE
6551CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006552>#define XML_SUBSTITUTE_PEREF 2</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00006553></TD
6554></TR
6555></TABLE
6556><P
6557></P
6558></DIV
6559><HR><DIV
6560CLASS="REFSECT2"
6561><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006562NAME="AEN6363"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006563></A
6564><H3
6565><A
6566NAME="XML-SUBSTITUTE-BOTH"
6567></A
6568>XML_SUBSTITUTE_BOTH</H3
6569><TABLE
6570BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006571BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006572WIDTH="100%"
6573CELLPADDING="6"
6574><TR
6575><TD
6576><PRE
6577CLASS="PROGRAMLISTING"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006578>#define XML_SUBSTITUTE_BOTH 3</PRE
Daniel Veillard011b63c1999-06-02 17:44:04 +00006579></TD
6580></TR
6581></TABLE
6582><P
6583></P
6584></DIV
6585><HR><DIV
6586CLASS="REFSECT2"
6587><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006588NAME="AEN6368"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006589></A
6590><H3
6591><A
6592NAME="XMLDECODEENTITIES"
6593></A
Daniel Veillard14fff061999-06-22 21:49:07 +00006594>xmlDecodeEntities ()</H3
Daniel Veillard011b63c1999-06-02 17:44:04 +00006595><TABLE
6596BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006597BGCOLOR="#D6E8FF"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006598WIDTH="100%"
6599CELLPADDING="6"
6600><TR
6601><TD
6602><PRE
6603CLASS="PROGRAMLISTING"
6604><A
6605HREF="gnome-xml-tree.html#CHAR"
6606>CHAR</A
6607>* xmlDecodeEntities (<A
6608HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6609>xmlParserCtxtPtr</A
6610> ctxt,
6611 int len,
6612 int what,
6613 <A
6614HREF="gnome-xml-tree.html#CHAR"
6615>CHAR</A
6616> end,
6617 <A
6618HREF="gnome-xml-tree.html#CHAR"
6619>CHAR</A
6620> end2,
6621 <A
6622HREF="gnome-xml-tree.html#CHAR"
6623>CHAR</A
6624> end3);</PRE
6625></TD
6626></TR
6627></TABLE
6628><P
6629>[67] Reference ::= EntityRef | CharRef</P
6630><P
6631>[69] PEReference ::= '%' Name ';'</P
6632><P
6633></P
6634><DIV
6635CLASS="INFORMALTABLE"
6636><P
6637></P
6638><TABLE
6639BORDER="0"
6640WIDTH="100%"
Daniel Veillard14fff061999-06-22 21:49:07 +00006641BGCOLOR="#FFD0D0"
Daniel Veillard011b63c1999-06-02 17:44:04 +00006642CELLSPACING="0"
6643CELLPADDING="4"
6644CLASS="CALSTABLE"
6645><TR
6646><TD
6647WIDTH="20%"
6648ALIGN="RIGHT"
6649VALIGN="TOP"
6650><TT
6651CLASS="PARAMETER"
6652><I
6653>ctxt</I
6654></TT
6655>&nbsp;:</TD
6656><TD
6657WIDTH="80%"
6658ALIGN="LEFT"
6659VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006660> the parser context</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006661></TR
6662><TR
6663><TD
6664WIDTH="20%"
6665ALIGN="RIGHT"
6666VALIGN="TOP"
6667><TT
6668CLASS="PARAMETER"
6669><I
6670>len</I
6671></TT
6672>&nbsp;:</TD
6673><TD
6674WIDTH="80%"
6675ALIGN="LEFT"
6676VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006677> the len to decode (in bytes !), -1 for no size limit</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006678></TR
6679><TR
6680><TD
6681WIDTH="20%"
6682ALIGN="RIGHT"
6683VALIGN="TOP"
6684><TT
6685CLASS="PARAMETER"
6686><I
6687>what</I
6688></TT
6689>&nbsp;:</TD
6690><TD
6691WIDTH="80%"
6692ALIGN="LEFT"
6693VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006694> combination of XML_SUBSTITUTE_REF and XML_SUBSTITUTE_PEREF</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006695></TR
6696><TR
6697><TD
6698WIDTH="20%"
6699ALIGN="RIGHT"
6700VALIGN="TOP"
6701><TT
6702CLASS="PARAMETER"
6703><I
6704>end</I
6705></TT
6706>&nbsp;:</TD
6707><TD
6708WIDTH="80%"
6709ALIGN="LEFT"
6710VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006711> an end marker CHAR, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006712></TR
6713><TR
6714><TD
6715WIDTH="20%"
6716ALIGN="RIGHT"
6717VALIGN="TOP"
6718><TT
6719CLASS="PARAMETER"
6720><I
6721>end2</I
6722></TT
6723>&nbsp;:</TD
6724><TD
6725WIDTH="80%"
6726ALIGN="LEFT"
6727VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006728> an end marker CHAR, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006729></TR
6730><TR
6731><TD
6732WIDTH="20%"
6733ALIGN="RIGHT"
6734VALIGN="TOP"
6735><TT
6736CLASS="PARAMETER"
6737><I
6738>end3</I
6739></TT
6740>&nbsp;:</TD
6741><TD
6742WIDTH="80%"
6743ALIGN="LEFT"
6744VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006745> an end marker CHAR, 0 if none</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006746></TR
6747><TR
6748><TD
6749WIDTH="20%"
6750ALIGN="RIGHT"
6751VALIGN="TOP"
6752><I
6753CLASS="EMPHASIS"
6754>Returns</I
6755> :</TD
6756><TD
6757WIDTH="80%"
6758ALIGN="LEFT"
6759VALIGN="TOP"
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006760>A newly allocated string with the substitution done. The caller
6761must deallocate it !</TD
Daniel Veillard011b63c1999-06-02 17:44:04 +00006762></TR
6763></TABLE
6764><P
6765></P
6766></DIV
6767></DIV
Daniel Veillard14fff061999-06-22 21:49:07 +00006768><HR><DIV
6769CLASS="REFSECT2"
6770><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006771NAME="AEN6413"
Daniel Veillard14fff061999-06-22 21:49:07 +00006772></A
6773><H3
6774><A
6775NAME="NODEPUSH"
6776></A
6777>nodePush ()</H3
6778><TABLE
Daniel Veillard35925471999-02-25 08:46:07 +00006779BORDER="0"
Daniel Veillard14fff061999-06-22 21:49:07 +00006780BGCOLOR="#D6E8FF"
6781WIDTH="100%"
6782CELLPADDING="6"
Daniel Veillard35925471999-02-25 08:46:07 +00006783><TR
6784><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006785><PRE
6786CLASS="PROGRAMLISTING"
6787>int nodePush (<A
6788HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6789>xmlParserCtxtPtr</A
6790> ctxt,
6791 <A
6792HREF="gnome-xml-tree.html#XMLNODEPTR"
6793>xmlNodePtr</A
6794> value);</PRE
Daniel Veillard35925471999-02-25 08:46:07 +00006795></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006796></TR
6797></TABLE
6798><P
6799></P
6800><DIV
6801CLASS="INFORMALTABLE"
6802><P
6803></P
6804><TABLE
6805BORDER="0"
6806WIDTH="100%"
6807BGCOLOR="#FFD0D0"
6808CELLSPACING="0"
6809CELLPADDING="4"
6810CLASS="CALSTABLE"
6811><TR
Daniel Veillard35925471999-02-25 08:46:07 +00006812><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006813WIDTH="20%"
6814ALIGN="RIGHT"
6815VALIGN="TOP"
6816><TT
6817CLASS="PARAMETER"
6818><I
6819>ctxt</I
6820></TT
6821>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006822><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006823WIDTH="80%"
6824ALIGN="LEFT"
6825VALIGN="TOP"
Daniel Veillard35925471999-02-25 08:46:07 +00006826>&nbsp;</TD
6827></TR
6828><TR
6829><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006830WIDTH="20%"
6831ALIGN="RIGHT"
6832VALIGN="TOP"
6833><TT
6834CLASS="PARAMETER"
6835><I
6836>value</I
6837></TT
6838>&nbsp;:</TD
Daniel Veillard35925471999-02-25 08:46:07 +00006839><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00006840WIDTH="80%"
6841ALIGN="LEFT"
6842VALIGN="TOP"
6843>&nbsp;</TD
6844></TR
6845><TR
6846><TD
6847WIDTH="20%"
6848ALIGN="RIGHT"
6849VALIGN="TOP"
6850><I
6851CLASS="EMPHASIS"
6852>Returns</I
6853> :</TD
6854><TD
6855WIDTH="80%"
6856ALIGN="LEFT"
6857VALIGN="TOP"
6858>&nbsp;</TD
6859></TR
6860></TABLE
6861><P
6862></P
6863></DIV
6864></DIV
6865><HR><DIV
6866CLASS="REFSECT2"
Daniel Veillard35925471999-02-25 08:46:07 +00006867><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006868NAME="AEN6437"
Daniel Veillard14fff061999-06-22 21:49:07 +00006869></A
6870><H3
6871><A
6872NAME="NODEPOP"
6873></A
6874>nodePop ()</H3
6875><TABLE
6876BORDER="0"
6877BGCOLOR="#D6E8FF"
6878WIDTH="100%"
6879CELLPADDING="6"
6880><TR
6881><TD
6882><PRE
6883CLASS="PROGRAMLISTING"
6884><A
6885HREF="gnome-xml-tree.html#XMLNODEPTR"
6886>xmlNodePtr</A
6887> nodePop (<A
6888HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6889>xmlParserCtxtPtr</A
6890> ctxt);</PRE
6891></TD
6892></TR
6893></TABLE
6894><P
6895></P
6896><DIV
6897CLASS="INFORMALTABLE"
6898><P
6899></P
6900><TABLE
6901BORDER="0"
6902WIDTH="100%"
6903BGCOLOR="#FFD0D0"
6904CELLSPACING="0"
6905CELLPADDING="4"
6906CLASS="CALSTABLE"
6907><TR
6908><TD
6909WIDTH="20%"
6910ALIGN="RIGHT"
6911VALIGN="TOP"
6912><TT
6913CLASS="PARAMETER"
6914><I
6915>ctxt</I
6916></TT
6917>&nbsp;:</TD
6918><TD
6919WIDTH="80%"
6920ALIGN="LEFT"
6921VALIGN="TOP"
6922>&nbsp;</TD
6923></TR
6924><TR
6925><TD
6926WIDTH="20%"
6927ALIGN="RIGHT"
6928VALIGN="TOP"
6929><I
6930CLASS="EMPHASIS"
6931>Returns</I
6932> :</TD
6933><TD
6934WIDTH="80%"
6935ALIGN="LEFT"
6936VALIGN="TOP"
6937>&nbsp;</TD
6938></TR
6939></TABLE
6940><P
6941></P
6942></DIV
6943></DIV
6944><HR><DIV
6945CLASS="REFSECT2"
6946><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00006947NAME="AEN6457"
Daniel Veillard14fff061999-06-22 21:49:07 +00006948></A
6949><H3
6950><A
6951NAME="INPUTPUSH"
6952></A
6953>inputPush ()</H3
6954><TABLE
6955BORDER="0"
6956BGCOLOR="#D6E8FF"
6957WIDTH="100%"
6958CELLPADDING="6"
6959><TR
6960><TD
6961><PRE
6962CLASS="PROGRAMLISTING"
6963>int inputPush (<A
6964HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
6965>xmlParserCtxtPtr</A
6966> ctxt,
6967 <A
6968HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
6969>xmlParserInputPtr</A
6970> value);</PRE
6971></TD
6972></TR
6973></TABLE
6974><P
6975></P
6976><DIV
6977CLASS="INFORMALTABLE"
6978><P
6979></P
6980><TABLE
6981BORDER="0"
6982WIDTH="100%"
6983BGCOLOR="#FFD0D0"
6984CELLSPACING="0"
6985CELLPADDING="4"
6986CLASS="CALSTABLE"
6987><TR
6988><TD
6989WIDTH="20%"
6990ALIGN="RIGHT"
6991VALIGN="TOP"
6992><TT
6993CLASS="PARAMETER"
6994><I
6995>ctxt</I
6996></TT
6997>&nbsp;:</TD
6998><TD
6999WIDTH="80%"
7000ALIGN="LEFT"
7001VALIGN="TOP"
7002>&nbsp;</TD
7003></TR
7004><TR
7005><TD
7006WIDTH="20%"
7007ALIGN="RIGHT"
7008VALIGN="TOP"
7009><TT
7010CLASS="PARAMETER"
7011><I
7012>value</I
7013></TT
7014>&nbsp;:</TD
7015><TD
7016WIDTH="80%"
7017ALIGN="LEFT"
7018VALIGN="TOP"
7019>&nbsp;</TD
7020></TR
7021><TR
7022><TD
7023WIDTH="20%"
7024ALIGN="RIGHT"
7025VALIGN="TOP"
7026><I
7027CLASS="EMPHASIS"
7028>Returns</I
7029> :</TD
7030><TD
7031WIDTH="80%"
7032ALIGN="LEFT"
7033VALIGN="TOP"
7034>&nbsp;</TD
7035></TR
7036></TABLE
7037><P
7038></P
7039></DIV
7040></DIV
7041><HR><DIV
7042CLASS="REFSECT2"
7043><A
Daniel Veillarde2d034d1999-07-27 19:52:06 +00007044NAME="AEN6481"
Daniel Veillard14fff061999-06-22 21:49:07 +00007045></A
7046><H3
7047><A
7048NAME="INPUTPOP"
7049></A
7050>inputPop ()</H3
7051><TABLE
7052BORDER="0"
7053BGCOLOR="#D6E8FF"
7054WIDTH="100%"
7055CELLPADDING="6"
7056><TR
7057><TD
7058><PRE
7059CLASS="PROGRAMLISTING"
7060><A
7061HREF="gnome-xml-parser.html#XMLPARSERINPUTPTR"
7062>xmlParserInputPtr</A
7063> inputPop (<A
7064HREF="gnome-xml-parser.html#XMLPARSERCTXTPTR"
7065>xmlParserCtxtPtr</A
7066> ctxt);</PRE
7067></TD
7068></TR
7069></TABLE
7070><P
7071></P
7072><DIV
7073CLASS="INFORMALTABLE"
7074><P
7075></P
7076><TABLE
7077BORDER="0"
7078WIDTH="100%"
7079BGCOLOR="#FFD0D0"
7080CELLSPACING="0"
7081CELLPADDING="4"
7082CLASS="CALSTABLE"
7083><TR
7084><TD
7085WIDTH="20%"
7086ALIGN="RIGHT"
7087VALIGN="TOP"
7088><TT
7089CLASS="PARAMETER"
7090><I
7091>ctxt</I
7092></TT
7093>&nbsp;:</TD
7094><TD
7095WIDTH="80%"
7096ALIGN="LEFT"
7097VALIGN="TOP"
7098>&nbsp;</TD
7099></TR
7100><TR
7101><TD
7102WIDTH="20%"
7103ALIGN="RIGHT"
7104VALIGN="TOP"
7105><I
7106CLASS="EMPHASIS"
7107>Returns</I
7108> :</TD
7109><TD
7110WIDTH="80%"
7111ALIGN="LEFT"
7112VALIGN="TOP"
7113>&nbsp;</TD
7114></TR
7115></TABLE
7116><P
7117></P
7118></DIV
7119></DIV
7120></DIV
7121><DIV
7122CLASS="NAVFOOTER"
7123><BR><BR><TABLE
7124WIDTH="100%"
7125BORDER="0"
7126BGCOLOR="#000000"
7127CELLPADDING="1"
7128CELLSPACING="0"
7129><TR
7130><TD
7131WIDTH="25%"
7132BGCOLOR="#C00000"
7133ALIGN="left"
7134><A
7135HREF="gnome-xml-xml-error.html"
7136><FONT
7137COLOR="#FFFFFF"
7138SIZE="3"
7139><B
7140>&#60;&#60;&#60; Previous Page</B
7141></FONT
7142></A
Daniel Veillard35925471999-02-25 08:46:07 +00007143></TD
7144><TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007145WIDTH="25%"
7146BGCOLOR="#0000C0"
7147ALIGN="center"
7148><FONT
7149COLOR="#FFFFFF"
7150SIZE="3"
7151><B
7152><A
7153HREF="book1.html"
7154><FONT
7155COLOR="#FFFFFF"
7156SIZE="3"
7157><B
7158>Home</B
7159></FONT
7160></A
7161></B
7162></FONT
7163></TD
7164><TD
7165WIDTH="25%"
7166BGCOLOR="#00C000"
7167ALIGN="center"
7168><FONT
7169COLOR="#FFFFFF"
7170SIZE="3"
7171><B
7172><A
7173HREF="libxml.html"
7174><FONT
7175COLOR="#FFFFFF"
7176SIZE="3"
7177><B
7178>Up</B
7179></FONT
7180></A
7181></B
7182></FONT
7183></TD
7184><TD
7185WIDTH="25%"
7186BGCOLOR="#C00000"
Daniel Veillard35925471999-02-25 08:46:07 +00007187ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007188><A
7189HREF="gnome-xml-htmlparser.html"
7190><FONT
7191COLOR="#FFFFFF"
7192SIZE="3"
7193><B
7194>Next Page &#62;&#62;&#62;</B
7195></FONT
7196></A
7197></TD
Daniel Veillard14fff061999-06-22 21:49:07 +00007198></TR
7199><TR
7200><TD
7201COLSPAN="2"
7202ALIGN="left"
7203><FONT
7204COLOR="#FFFFFF"
7205SIZE="3"
7206><B
7207>xml-error</B
7208></FONT
7209></TD
7210><TD
7211COLSPAN="2"
7212ALIGN="right"
Daniel Veillard1566d3a1999-07-15 14:24:29 +00007213><FONT
7214COLOR="#FFFFFF"
7215SIZE="3"
7216><B
7217>HTMLparser</B
7218></FONT
7219></TD
Daniel Veillard35925471999-02-25 08:46:07 +00007220></TR
7221></TABLE
7222></DIV
7223></BODY
7224></HTML
7225>