blob: 0cb02e5367b02568fbb989cd94e3e60ae7c6a739 [file] [log] [blame]
Daniel Veillardaec63562003-03-23 20:42:17 +00001<HTML
2><HEAD
3><TITLE
4>xmlreader</TITLE
5><META
6NAME="GENERATOR"
7CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
8"><LINK
9REL="HOME"
10TITLE="Gnome XML Library Reference Manual"
11HREF="book1.html"><LINK
12REL="UP"
13TITLE="Libxml Library Reference"
14HREF="libxml-lib.html"><LINK
15REL="PREVIOUS"
16TITLE="parser"
17HREF="libxml-parser.html"><LINK
18REL="NEXT"
19TITLE="SAX"
20HREF="libxml-sax.html"></HEAD
21><BODY
22CLASS="REFENTRY"
23BGCOLOR="#FFFFFF"
24TEXT="#000000"
25LINK="#0000FF"
26VLINK="#840084"
27ALINK="#0000FF"
28><DIV
29CLASS="NAVHEADER"
30><TABLE
31WIDTH="100%"
32BORDER="0"
33BGCOLOR="#000000"
34CELLPADDING="1"
35CELLSPACING="0"
36><TR
37><TH
38COLSPAN="4"
39ALIGN="center"
40><FONT
41COLOR="#FFFFFF"
42SIZE="5"
43>Gnome XML Library Reference Manual</FONT
44></TH
45></TR
46><TR
47><TD
48WIDTH="25%"
49BGCOLOR="#C00000"
50ALIGN="left"
51><A
52HREF="libxml-parser.html"
53><FONT
54COLOR="#FFFFFF"
55SIZE="3"
56><B
57>&#60;&#60;&#60; Previous Page</B
58></FONT
59></A
60></TD
61><TD
62WIDTH="25%"
63BGCOLOR="#0000C0"
64ALIGN="center"
65><FONT
66COLOR="#FFFFFF"
67SIZE="3"
68><B
69><A
70HREF="book1.html"
71><FONT
72COLOR="#FFFFFF"
73SIZE="3"
74><B
75>Home</B
76></FONT
77></A
78></B
79></FONT
80></TD
81><TD
82WIDTH="25%"
83BGCOLOR="#00C000"
84ALIGN="center"
85><FONT
86COLOR="#FFFFFF"
87SIZE="3"
88><B
89><A
90HREF="libxml-lib.html"
91><FONT
92COLOR="#FFFFFF"
93SIZE="3"
94><B
95>Up</B
96></FONT
97></A
98></B
99></FONT
100></TD
101><TD
102WIDTH="25%"
103BGCOLOR="#C00000"
104ALIGN="right"
105><A
106HREF="libxml-sax.html"
107><FONT
108COLOR="#FFFFFF"
109SIZE="3"
110><B
111>Next Page &#62;&#62;&#62;</B
112></FONT
113></A
114></TD
115></TR
116></TABLE
117></DIV
118><H1
119><A
120NAME="LIBXML-XMLREADER"
121></A
122>xmlreader</H1
123><DIV
124CLASS="REFNAMEDIV"
125><A
126NAME="AEN2927"
127></A
128><H2
129>Name</H2
130>xmlreader&nbsp;--&nbsp;</DIV
131><DIV
132CLASS="REFSYNOPSISDIV"
133><A
134NAME="AEN2930"
135></A
136><H2
137>Synopsis</H2
138><TABLE
139BORDER="0"
140BGCOLOR="#D6E8FF"
141WIDTH="100%"
142CELLPADDING="6"
143><TR
144><TD
145><PRE
146CLASS="SYNOPSIS"
147>&#13;
148
149enum <A
150HREF="libxml-xmlreader.html#XMLPARSERPROPERTIES"
151>xmlParserProperties</A
152>;
153enum <A
154HREF="libxml-xmlreader.html#XMLPARSERSEVERITIES"
155>xmlParserSeverities</A
156>;
157struct <A
158HREF="libxml-xmlreader.html#XMLTEXTREADER"
159>xmlTextReader</A
160>;
161typedef <A
162HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
163>xmlTextReaderPtr</A
164>;
165<A
166HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
167>xmlTextReaderPtr</A
168> <A
169HREF="libxml-xmlreader.html#XMLNEWTEXTREADER"
170>xmlNewTextReader</A
171> (<A
172HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
173>xmlParserInputBufferPtr</A
174> input,
175 const char *URI);
176<A
177HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
178>xmlTextReaderPtr</A
179> <A
180HREF="libxml-xmlreader.html#XMLNEWTEXTREADERFILENAME"
181>xmlNewTextReaderFilename</A
182> (const char *URI);
183void <A
184HREF="libxml-xmlreader.html#XMLFREETEXTREADER"
185>xmlFreeTextReader</A
186> (<A
187HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
188>xmlTextReaderPtr</A
189> reader);
190int <A
191HREF="libxml-xmlreader.html#XMLTEXTREADERREAD"
192>xmlTextReaderRead</A
193> (<A
194HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
195>xmlTextReaderPtr</A
196> reader);
197<A
198HREF="libxml-tree.html#XMLCHAR"
199>xmlChar</A
200>* <A
201HREF="libxml-xmlreader.html#XMLTEXTREADERREADINNERXML"
202>xmlTextReaderReadInnerXml</A
203> (<A
204HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
205>xmlTextReaderPtr</A
206> reader);
207<A
208HREF="libxml-tree.html#XMLCHAR"
209>xmlChar</A
210>* <A
211HREF="libxml-xmlreader.html#XMLTEXTREADERREADOUTERXML"
212>xmlTextReaderReadOuterXml</A
213> (<A
214HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
215>xmlTextReaderPtr</A
216> reader);
217<A
218HREF="libxml-tree.html#XMLCHAR"
219>xmlChar</A
220>* <A
221HREF="libxml-xmlreader.html#XMLTEXTREADERREADSTRING"
222>xmlTextReaderReadString</A
223> (<A
224HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
225>xmlTextReaderPtr</A
226> reader);
227int <A
228HREF="libxml-xmlreader.html#XMLTEXTREADERREADATTRIBUTEVALUE"
229>xmlTextReaderReadAttributeValue</A
230> (<A
231HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
232>xmlTextReaderPtr</A
233> reader);
234int <A
235HREF="libxml-xmlreader.html#XMLTEXTREADERATTRIBUTECOUNT"
236>xmlTextReaderAttributeCount</A
237> (<A
238HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
239>xmlTextReaderPtr</A
240> reader);
241<A
242HREF="libxml-tree.html#XMLCHAR"
243>xmlChar</A
244>* <A
245HREF="libxml-xmlreader.html#XMLTEXTREADERBASEURI"
246>xmlTextReaderBaseUri</A
247> (<A
248HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
249>xmlTextReaderPtr</A
250> reader);
251int <A
252HREF="libxml-xmlreader.html#XMLTEXTREADERDEPTH"
253>xmlTextReaderDepth</A
254> (<A
255HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
256>xmlTextReaderPtr</A
257> reader);
258int <A
259HREF="libxml-xmlreader.html#XMLTEXTREADERHASATTRIBUTES"
260>xmlTextReaderHasAttributes</A
261> (<A
262HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
263>xmlTextReaderPtr</A
264> reader);
265int <A
266HREF="libxml-xmlreader.html#XMLTEXTREADERHASVALUE"
267>xmlTextReaderHasValue</A
268> (<A
269HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
270>xmlTextReaderPtr</A
271> reader);
272int <A
273HREF="libxml-xmlreader.html#XMLTEXTREADERISDEFAULT"
274>xmlTextReaderIsDefault</A
275> (<A
276HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
277>xmlTextReaderPtr</A
278> reader);
279int <A
280HREF="libxml-xmlreader.html#XMLTEXTREADERISEMPTYELEMENT"
281>xmlTextReaderIsEmptyElement</A
282> (<A
283HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
284>xmlTextReaderPtr</A
285> reader);
286<A
287HREF="libxml-tree.html#XMLCHAR"
288>xmlChar</A
289>* <A
290HREF="libxml-xmlreader.html#XMLTEXTREADERLOCALNAME"
291>xmlTextReaderLocalName</A
292> (<A
293HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
294>xmlTextReaderPtr</A
295> reader);
296<A
297HREF="libxml-tree.html#XMLCHAR"
298>xmlChar</A
299>* <A
300HREF="libxml-xmlreader.html#XMLTEXTREADERNAME"
301>xmlTextReaderName</A
302> (<A
303HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
304>xmlTextReaderPtr</A
305> reader);
306<A
307HREF="libxml-tree.html#XMLCHAR"
308>xmlChar</A
309>* <A
310HREF="libxml-xmlreader.html#XMLTEXTREADERNAMESPACEURI"
311>xmlTextReaderNamespaceUri</A
312> (<A
313HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
314>xmlTextReaderPtr</A
315> reader);
316int <A
317HREF="libxml-xmlreader.html#XMLTEXTREADERNODETYPE"
318>xmlTextReaderNodeType</A
319> (<A
320HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
321>xmlTextReaderPtr</A
322> reader);
323<A
324HREF="libxml-tree.html#XMLCHAR"
325>xmlChar</A
326>* <A
327HREF="libxml-xmlreader.html#XMLTEXTREADERPREFIX"
328>xmlTextReaderPrefix</A
329> (<A
330HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
331>xmlTextReaderPtr</A
332> reader);
333int <A
334HREF="libxml-xmlreader.html#XMLTEXTREADERQUOTECHAR"
335>xmlTextReaderQuoteChar</A
336> (<A
337HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
338>xmlTextReaderPtr</A
339> reader);
340<A
341HREF="libxml-tree.html#XMLCHAR"
342>xmlChar</A
343>* <A
344HREF="libxml-xmlreader.html#XMLTEXTREADERVALUE"
345>xmlTextReaderValue</A
346> (<A
347HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
348>xmlTextReaderPtr</A
349> reader);
350<A
351HREF="libxml-tree.html#XMLCHAR"
352>xmlChar</A
353>* <A
354HREF="libxml-xmlreader.html#XMLTEXTREADERXMLLANG"
355>xmlTextReaderXmlLang</A
356> (<A
357HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
358>xmlTextReaderPtr</A
359> reader);
360int <A
361HREF="libxml-xmlreader.html#XMLTEXTREADERREADSTATE"
362>xmlTextReaderReadState</A
363> (<A
364HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
365>xmlTextReaderPtr</A
366> reader);
367int <A
368HREF="libxml-xmlreader.html#XMLTEXTREADERCLOSE"
369>xmlTextReaderClose</A
370> (<A
371HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
372>xmlTextReaderPtr</A
373> reader);
374<A
375HREF="libxml-tree.html#XMLCHAR"
376>xmlChar</A
377>* <A
378HREF="libxml-xmlreader.html#XMLTEXTREADERGETATTRIBUTENO"
379>xmlTextReaderGetAttributeNo</A
380> (<A
381HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
382>xmlTextReaderPtr</A
383> reader,
384 int no);
385<A
386HREF="libxml-tree.html#XMLCHAR"
387>xmlChar</A
388>* <A
389HREF="libxml-xmlreader.html#XMLTEXTREADERGETATTRIBUTE"
390>xmlTextReaderGetAttribute</A
391> (<A
392HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
393>xmlTextReaderPtr</A
394> reader,
395 const <A
396HREF="libxml-tree.html#XMLCHAR"
397>xmlChar</A
398> *name);
399<A
400HREF="libxml-tree.html#XMLCHAR"
401>xmlChar</A
402>* <A
403HREF="libxml-xmlreader.html#XMLTEXTREADERGETATTRIBUTENS"
404>xmlTextReaderGetAttributeNs</A
405> (<A
406HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
407>xmlTextReaderPtr</A
408> reader,
409 const <A
410HREF="libxml-tree.html#XMLCHAR"
411>xmlChar</A
412> *localName,
413 const <A
414HREF="libxml-tree.html#XMLCHAR"
415>xmlChar</A
416> *namespaceURI);
417<A
418HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
419>xmlParserInputBufferPtr</A
420> <A
421HREF="libxml-xmlreader.html#XMLTEXTREADERGETREMAINDER"
422>xmlTextReaderGetRemainder</A
423>
424 (<A
425HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
426>xmlTextReaderPtr</A
427> reader);
428<A
429HREF="libxml-tree.html#XMLCHAR"
430>xmlChar</A
431>* <A
432HREF="libxml-xmlreader.html#XMLTEXTREADERLOOKUPNAMESPACE"
433>xmlTextReaderLookupNamespace</A
434> (<A
435HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
436>xmlTextReaderPtr</A
437> reader,
438 const <A
439HREF="libxml-tree.html#XMLCHAR"
440>xmlChar</A
441> *prefix);
442int <A
443HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETOATTRIBUTENO"
444>xmlTextReaderMoveToAttributeNo</A
445> (<A
446HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
447>xmlTextReaderPtr</A
448> reader,
449 int no);
450int <A
451HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETOATTRIBUTE"
452>xmlTextReaderMoveToAttribute</A
453> (<A
454HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
455>xmlTextReaderPtr</A
456> reader,
457 const <A
458HREF="libxml-tree.html#XMLCHAR"
459>xmlChar</A
460> *name);
461int <A
462HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETOATTRIBUTENS"
463>xmlTextReaderMoveToAttributeNs</A
464> (<A
465HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
466>xmlTextReaderPtr</A
467> reader,
468 const <A
469HREF="libxml-tree.html#XMLCHAR"
470>xmlChar</A
471> *localName,
472 const <A
473HREF="libxml-tree.html#XMLCHAR"
474>xmlChar</A
475> *namespaceURI);
476int <A
477HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETOFIRSTATTRIBUTE"
478>xmlTextReaderMoveToFirstAttribute</A
479>
480 (<A
481HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
482>xmlTextReaderPtr</A
483> reader);
484int <A
485HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETONEXTATTRIBUTE"
486>xmlTextReaderMoveToNextAttribute</A
487>
488 (<A
489HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
490>xmlTextReaderPtr</A
491> reader);
492int <A
493HREF="libxml-xmlreader.html#XMLTEXTREADERMOVETOELEMENT"
494>xmlTextReaderMoveToElement</A
495> (<A
496HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
497>xmlTextReaderPtr</A
498> reader);
499int <A
500HREF="libxml-xmlreader.html#XMLTEXTREADERNORMALIZATION"
501>xmlTextReaderNormalization</A
502> (<A
503HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
504>xmlTextReaderPtr</A
505> reader);
506int <A
507HREF="libxml-xmlreader.html#XMLTEXTREADERSETPARSERPROP"
508>xmlTextReaderSetParserProp</A
509> (<A
510HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
511>xmlTextReaderPtr</A
512> reader,
513 int prop,
514 int value);
515int <A
516HREF="libxml-xmlreader.html#XMLTEXTREADERGETPARSERPROP"
517>xmlTextReaderGetParserProp</A
518> (<A
519HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
520>xmlTextReaderPtr</A
521> reader,
522 int prop);
523<A
524HREF="libxml-tree.html#XMLNODEPTR"
525>xmlNodePtr</A
526> <A
527HREF="libxml-xmlreader.html#XMLTEXTREADERCURRENTNODE"
528>xmlTextReaderCurrentNode</A
529> (<A
530HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
531>xmlTextReaderPtr</A
532> reader);
533<A
534HREF="libxml-tree.html#XMLDOCPTR"
535>xmlDocPtr</A
536> <A
537HREF="libxml-xmlreader.html#XMLTEXTREADERCURRENTDOC"
538>xmlTextReaderCurrentDoc</A
539> (<A
540HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
541>xmlTextReaderPtr</A
542> reader);
543typedef <A
544HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
545>xmlTextReaderLocatorPtr</A
546>;
547void (<A
548HREF="libxml-xmlreader.html#XMLTEXTREADERERRORFUNC"
549>*xmlTextReaderErrorFunc</A
550>) (void *arg,
551 const char *msg,
552 <A
553HREF="libxml-xmlreader.html#XMLPARSERSEVERITIES"
554>xmlParserSeverities</A
555> severity,
556 <A
557HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
558>xmlTextReaderLocatorPtr</A
559> locator);
560int <A
561HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORLINENUMBER"
562>xmlTextReaderLocatorLineNumber</A
563> (<A
564HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
565>xmlTextReaderLocatorPtr</A
566> locator);
567<A
568HREF="libxml-tree.html#XMLCHAR"
569>xmlChar</A
570>* <A
571HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORBASEURI"
572>xmlTextReaderLocatorBaseURI</A
573> (<A
574HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
575>xmlTextReaderLocatorPtr</A
576> locator);
577void <A
578HREF="libxml-xmlreader.html#XMLTEXTREADERSETERRORHANDLER"
579>xmlTextReaderSetErrorHandler</A
580> (<A
581HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
582>xmlTextReaderPtr</A
583> reader,
584 <A
585HREF="libxml-xmlreader.html#XMLTEXTREADERERRORFUNC"
586>xmlTextReaderErrorFunc</A
587> f,
588 void *arg);
589void <A
590HREF="libxml-xmlreader.html#XMLTEXTREADERGETERRORHANDLER"
591>xmlTextReaderGetErrorHandler</A
592> (<A
593HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
594>xmlTextReaderPtr</A
595> reader,
596 <A
597HREF="libxml-xmlreader.html#XMLTEXTREADERERRORFUNC"
598>xmlTextReaderErrorFunc</A
599> *f,
600 void **arg);</PRE
601></TD
602></TR
603></TABLE
604></DIV
605><DIV
606CLASS="REFSECT1"
607><A
608NAME="AEN3059"
609></A
610><H2
611>Description</H2
612><P
613></P
614></DIV
615><DIV
616CLASS="REFSECT1"
617><A
618NAME="AEN3062"
619></A
620><H2
621>Details</H2
622><DIV
623CLASS="REFSECT2"
624><A
625NAME="AEN3064"
626></A
627><H3
628><A
629NAME="XMLPARSERPROPERTIES"
630></A
631>enum xmlParserProperties</H3
632><TABLE
633BORDER="0"
634BGCOLOR="#D6E8FF"
635WIDTH="100%"
636CELLPADDING="6"
637><TR
638><TD
639><PRE
640CLASS="PROGRAMLISTING"
641>typedef enum {
642 XML_PARSER_LOADDTD = 1,
643 XML_PARSER_DEFAULTATTRS = 2,
644 XML_PARSER_VALIDATE = 3,
645 XML_PARSER_SUBST_ENTITIES = 4
646} xmlParserProperties;</PRE
647></TD
648></TR
649></TABLE
650><P
651></P
652></DIV
653><HR><DIV
654CLASS="REFSECT2"
655><A
656NAME="AEN3069"
657></A
658><H3
659><A
660NAME="XMLPARSERSEVERITIES"
661></A
662>enum xmlParserSeverities</H3
663><TABLE
664BORDER="0"
665BGCOLOR="#D6E8FF"
666WIDTH="100%"
667CELLPADDING="6"
668><TR
669><TD
670><PRE
671CLASS="PROGRAMLISTING"
672>typedef enum {
673 XML_PARSER_SEVERITY_VALIDITY_WARNING = 1,
674 XML_PARSER_SEVERITY_VALIDITY_ERROR = 2,
675 XML_PARSER_SEVERITY_WARNING = 3,
676 XML_PARSER_SEVERITY_ERROR = 4
677} xmlParserSeverities;</PRE
678></TD
679></TR
680></TABLE
681><P
682></P
683></DIV
684><HR><DIV
685CLASS="REFSECT2"
686><A
687NAME="AEN3074"
688></A
689><H3
690><A
691NAME="XMLTEXTREADER"
692></A
693>struct xmlTextReader</H3
694><TABLE
695BORDER="0"
696BGCOLOR="#D6E8FF"
697WIDTH="100%"
698CELLPADDING="6"
699><TR
700><TD
701><PRE
702CLASS="PROGRAMLISTING"
703>struct xmlTextReader;</PRE
704></TD
705></TR
706></TABLE
707><P
708></P
709></DIV
710><HR><DIV
711CLASS="REFSECT2"
712><A
713NAME="AEN3079"
714></A
715><H3
716><A
717NAME="XMLTEXTREADERPTR"
718></A
719>xmlTextReaderPtr</H3
720><TABLE
721BORDER="0"
722BGCOLOR="#D6E8FF"
723WIDTH="100%"
724CELLPADDING="6"
725><TR
726><TD
727><PRE
728CLASS="PROGRAMLISTING"
729>typedef xmlTextReader *xmlTextReaderPtr;</PRE
730></TD
731></TR
732></TABLE
733><P
734></P
735></DIV
736><HR><DIV
737CLASS="REFSECT2"
738><A
739NAME="AEN3084"
740></A
741><H3
742><A
743NAME="XMLNEWTEXTREADER"
744></A
745>xmlNewTextReader ()</H3
746><TABLE
747BORDER="0"
748BGCOLOR="#D6E8FF"
749WIDTH="100%"
750CELLPADDING="6"
751><TR
752><TD
753><PRE
754CLASS="PROGRAMLISTING"
755><A
756HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
757>xmlTextReaderPtr</A
758> xmlNewTextReader (<A
759HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
760>xmlParserInputBufferPtr</A
761> input,
762 const char *URI);</PRE
763></TD
764></TR
765></TABLE
766><P
767>Create an xmlTextReader structure fed with <TT
768CLASS="PARAMETER"
769><I
770>input</I
771></TT
772></P
773><P
774></P
775><DIV
776CLASS="INFORMALTABLE"
777><A
778NAME="AEN3093"
779></A
780><P
781></P
782><TABLE
783BORDER="0"
784WIDTH="100%"
785BGCOLOR="#FFD0D0"
786CELLSPACING="0"
787CELLPADDING="4"
788CLASS="CALSTABLE"
789><TBODY
790><TR
791><TD
792WIDTH="20%"
793ALIGN="RIGHT"
794VALIGN="TOP"
795><TT
796CLASS="PARAMETER"
797><I
798>input</I
799></TT
800>&nbsp;:</TD
801><TD
802WIDTH="80%"
803ALIGN="LEFT"
804VALIGN="TOP"
805> the xmlParserInputBufferPtr used to read data</TD
806></TR
807><TR
808><TD
809WIDTH="20%"
810ALIGN="RIGHT"
811VALIGN="TOP"
812><TT
813CLASS="PARAMETER"
814><I
815>URI</I
816></TT
817>&nbsp;:</TD
818><TD
819WIDTH="80%"
820ALIGN="LEFT"
821VALIGN="TOP"
822> the URI information for the source if available</TD
823></TR
824><TR
825><TD
826WIDTH="20%"
827ALIGN="RIGHT"
828VALIGN="TOP"
829><SPAN
830CLASS="emphasis"
831><I
832CLASS="EMPHASIS"
833>Returns</I
834></SPAN
835> :</TD
836><TD
837WIDTH="80%"
838ALIGN="LEFT"
839VALIGN="TOP"
840>the new xmlTextReaderPtr or NULL in case of error</TD
841></TR
842></TBODY
843></TABLE
844><P
845></P
846></DIV
847></DIV
848><HR><DIV
849CLASS="REFSECT2"
850><A
851NAME="AEN3110"
852></A
853><H3
854><A
855NAME="XMLNEWTEXTREADERFILENAME"
856></A
857>xmlNewTextReaderFilename ()</H3
858><TABLE
859BORDER="0"
860BGCOLOR="#D6E8FF"
861WIDTH="100%"
862CELLPADDING="6"
863><TR
864><TD
865><PRE
866CLASS="PROGRAMLISTING"
867><A
868HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
869>xmlTextReaderPtr</A
870> xmlNewTextReaderFilename (const char *URI);</PRE
871></TD
872></TR
873></TABLE
874><P
875>Create an xmlTextReader structure fed with the resource at <TT
876CLASS="PARAMETER"
877><I
878>URI</I
879></TT
880></P
881><P
882></P
883><DIV
884CLASS="INFORMALTABLE"
885><A
886NAME="AEN3118"
887></A
888><P
889></P
890><TABLE
891BORDER="0"
892WIDTH="100%"
893BGCOLOR="#FFD0D0"
894CELLSPACING="0"
895CELLPADDING="4"
896CLASS="CALSTABLE"
897><TBODY
898><TR
899><TD
900WIDTH="20%"
901ALIGN="RIGHT"
902VALIGN="TOP"
903><TT
904CLASS="PARAMETER"
905><I
906>URI</I
907></TT
908>&nbsp;:</TD
909><TD
910WIDTH="80%"
911ALIGN="LEFT"
912VALIGN="TOP"
913> the URI of the resource to process</TD
914></TR
915><TR
916><TD
917WIDTH="20%"
918ALIGN="RIGHT"
919VALIGN="TOP"
920><SPAN
921CLASS="emphasis"
922><I
923CLASS="EMPHASIS"
924>Returns</I
925></SPAN
926> :</TD
927><TD
928WIDTH="80%"
929ALIGN="LEFT"
930VALIGN="TOP"
931>the new xmlTextReaderPtr or NULL in case of error</TD
932></TR
933></TBODY
934></TABLE
935><P
936></P
937></DIV
938></DIV
939><HR><DIV
940CLASS="REFSECT2"
941><A
942NAME="AEN3131"
943></A
944><H3
945><A
946NAME="XMLFREETEXTREADER"
947></A
948>xmlFreeTextReader ()</H3
949><TABLE
950BORDER="0"
951BGCOLOR="#D6E8FF"
952WIDTH="100%"
953CELLPADDING="6"
954><TR
955><TD
956><PRE
957CLASS="PROGRAMLISTING"
958>void xmlFreeTextReader (<A
959HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
960>xmlTextReaderPtr</A
961> reader);</PRE
962></TD
963></TR
964></TABLE
965><P
966>Deallocate all the resources associated to the reader</P
967><P
968></P
969><DIV
970CLASS="INFORMALTABLE"
971><A
972NAME="AEN3138"
973></A
974><P
975></P
976><TABLE
977BORDER="0"
978WIDTH="100%"
979BGCOLOR="#FFD0D0"
980CELLSPACING="0"
981CELLPADDING="4"
982CLASS="CALSTABLE"
983><TBODY
984><TR
985><TD
986WIDTH="20%"
987ALIGN="RIGHT"
988VALIGN="TOP"
989><TT
990CLASS="PARAMETER"
991><I
992>reader</I
993></TT
994>&nbsp;:</TD
995><TD
996WIDTH="80%"
997ALIGN="LEFT"
998VALIGN="TOP"
999> the xmlTextReaderPtr</TD
1000></TR
1001></TBODY
1002></TABLE
1003><P
1004></P
1005></DIV
1006></DIV
1007><HR><DIV
1008CLASS="REFSECT2"
1009><A
1010NAME="AEN3147"
1011></A
1012><H3
1013><A
1014NAME="XMLTEXTREADERREAD"
1015></A
1016>xmlTextReaderRead ()</H3
1017><TABLE
1018BORDER="0"
1019BGCOLOR="#D6E8FF"
1020WIDTH="100%"
1021CELLPADDING="6"
1022><TR
1023><TD
1024><PRE
1025CLASS="PROGRAMLISTING"
1026>int xmlTextReaderRead (<A
1027HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1028>xmlTextReaderPtr</A
1029> reader);</PRE
1030></TD
1031></TR
1032></TABLE
1033><P
1034>Moves the position of the current instance to the next node in
1035 the stream, exposing its properties.</P
1036><P
1037></P
1038><DIV
1039CLASS="INFORMALTABLE"
1040><A
1041NAME="AEN3154"
1042></A
1043><P
1044></P
1045><TABLE
1046BORDER="0"
1047WIDTH="100%"
1048BGCOLOR="#FFD0D0"
1049CELLSPACING="0"
1050CELLPADDING="4"
1051CLASS="CALSTABLE"
1052><TBODY
1053><TR
1054><TD
1055WIDTH="20%"
1056ALIGN="RIGHT"
1057VALIGN="TOP"
1058><TT
1059CLASS="PARAMETER"
1060><I
1061>reader</I
1062></TT
1063>&nbsp;:</TD
1064><TD
1065WIDTH="80%"
1066ALIGN="LEFT"
1067VALIGN="TOP"
1068> the xmlTextReaderPtr used</TD
1069></TR
1070><TR
1071><TD
1072WIDTH="20%"
1073ALIGN="RIGHT"
1074VALIGN="TOP"
1075><SPAN
1076CLASS="emphasis"
1077><I
1078CLASS="EMPHASIS"
1079>Returns</I
1080></SPAN
1081> :</TD
1082><TD
1083WIDTH="80%"
1084ALIGN="LEFT"
1085VALIGN="TOP"
1086>1 if the node was read successfully, 0 if there is no more
1087 nodes to read, or -1 in case of error</TD
1088></TR
1089></TBODY
1090></TABLE
1091><P
1092></P
1093></DIV
1094></DIV
1095><HR><DIV
1096CLASS="REFSECT2"
1097><A
1098NAME="AEN3167"
1099></A
1100><H3
1101><A
1102NAME="XMLTEXTREADERREADINNERXML"
1103></A
1104>xmlTextReaderReadInnerXml ()</H3
1105><TABLE
1106BORDER="0"
1107BGCOLOR="#D6E8FF"
1108WIDTH="100%"
1109CELLPADDING="6"
1110><TR
1111><TD
1112><PRE
1113CLASS="PROGRAMLISTING"
1114><A
1115HREF="libxml-tree.html#XMLCHAR"
1116>xmlChar</A
1117>* xmlTextReaderReadInnerXml (<A
1118HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1119>xmlTextReaderPtr</A
1120> reader);</PRE
1121></TD
1122></TR
1123></TABLE
1124><P
1125>Reads the contents of the current node, including child nodes and markup.</P
1126><P
1127></P
1128><DIV
1129CLASS="INFORMALTABLE"
1130><A
1131NAME="AEN3175"
1132></A
1133><P
1134></P
1135><TABLE
1136BORDER="0"
1137WIDTH="100%"
1138BGCOLOR="#FFD0D0"
1139CELLSPACING="0"
1140CELLPADDING="4"
1141CLASS="CALSTABLE"
1142><TBODY
1143><TR
1144><TD
1145WIDTH="20%"
1146ALIGN="RIGHT"
1147VALIGN="TOP"
1148><TT
1149CLASS="PARAMETER"
1150><I
1151>reader</I
1152></TT
1153>&nbsp;:</TD
1154><TD
1155WIDTH="80%"
1156ALIGN="LEFT"
1157VALIGN="TOP"
1158> the xmlTextReaderPtr used</TD
1159></TR
1160><TR
1161><TD
1162WIDTH="20%"
1163ALIGN="RIGHT"
1164VALIGN="TOP"
1165><SPAN
1166CLASS="emphasis"
1167><I
1168CLASS="EMPHASIS"
1169>Returns</I
1170></SPAN
1171> :</TD
1172><TD
1173WIDTH="80%"
1174ALIGN="LEFT"
1175VALIGN="TOP"
1176>a string containing the XML content, or NULL if the current node
1177 is neither an element nor attribute, or has no child nodes. The
1178 string must be deallocated by the caller.</TD
1179></TR
1180></TBODY
1181></TABLE
1182><P
1183></P
1184></DIV
1185></DIV
1186><HR><DIV
1187CLASS="REFSECT2"
1188><A
1189NAME="AEN3188"
1190></A
1191><H3
1192><A
1193NAME="XMLTEXTREADERREADOUTERXML"
1194></A
1195>xmlTextReaderReadOuterXml ()</H3
1196><TABLE
1197BORDER="0"
1198BGCOLOR="#D6E8FF"
1199WIDTH="100%"
1200CELLPADDING="6"
1201><TR
1202><TD
1203><PRE
1204CLASS="PROGRAMLISTING"
1205><A
1206HREF="libxml-tree.html#XMLCHAR"
1207>xmlChar</A
1208>* xmlTextReaderReadOuterXml (<A
1209HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1210>xmlTextReaderPtr</A
1211> reader);</PRE
1212></TD
1213></TR
1214></TABLE
1215><P
1216>Reads the contents of the current node, including child nodes and markup.</P
1217><P
1218></P
1219><DIV
1220CLASS="INFORMALTABLE"
1221><A
1222NAME="AEN3196"
1223></A
1224><P
1225></P
1226><TABLE
1227BORDER="0"
1228WIDTH="100%"
1229BGCOLOR="#FFD0D0"
1230CELLSPACING="0"
1231CELLPADDING="4"
1232CLASS="CALSTABLE"
1233><TBODY
1234><TR
1235><TD
1236WIDTH="20%"
1237ALIGN="RIGHT"
1238VALIGN="TOP"
1239><TT
1240CLASS="PARAMETER"
1241><I
1242>reader</I
1243></TT
1244>&nbsp;:</TD
1245><TD
1246WIDTH="80%"
1247ALIGN="LEFT"
1248VALIGN="TOP"
1249> the xmlTextReaderPtr used</TD
1250></TR
1251><TR
1252><TD
1253WIDTH="20%"
1254ALIGN="RIGHT"
1255VALIGN="TOP"
1256><SPAN
1257CLASS="emphasis"
1258><I
1259CLASS="EMPHASIS"
1260>Returns</I
1261></SPAN
1262> :</TD
1263><TD
1264WIDTH="80%"
1265ALIGN="LEFT"
1266VALIGN="TOP"
1267>a string containing the XML content, or NULL if the current node
1268 is neither an element nor attribute, or has no child nodes. The
1269 string must be deallocated by the caller.</TD
1270></TR
1271></TBODY
1272></TABLE
1273><P
1274></P
1275></DIV
1276></DIV
1277><HR><DIV
1278CLASS="REFSECT2"
1279><A
1280NAME="AEN3209"
1281></A
1282><H3
1283><A
1284NAME="XMLTEXTREADERREADSTRING"
1285></A
1286>xmlTextReaderReadString ()</H3
1287><TABLE
1288BORDER="0"
1289BGCOLOR="#D6E8FF"
1290WIDTH="100%"
1291CELLPADDING="6"
1292><TR
1293><TD
1294><PRE
1295CLASS="PROGRAMLISTING"
1296><A
1297HREF="libxml-tree.html#XMLCHAR"
1298>xmlChar</A
1299>* xmlTextReaderReadString (<A
1300HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1301>xmlTextReaderPtr</A
1302> reader);</PRE
1303></TD
1304></TR
1305></TABLE
1306><P
1307>Reads the contents of an element or a text node as a string.</P
1308><P
1309></P
1310><DIV
1311CLASS="INFORMALTABLE"
1312><A
1313NAME="AEN3217"
1314></A
1315><P
1316></P
1317><TABLE
1318BORDER="0"
1319WIDTH="100%"
1320BGCOLOR="#FFD0D0"
1321CELLSPACING="0"
1322CELLPADDING="4"
1323CLASS="CALSTABLE"
1324><TBODY
1325><TR
1326><TD
1327WIDTH="20%"
1328ALIGN="RIGHT"
1329VALIGN="TOP"
1330><TT
1331CLASS="PARAMETER"
1332><I
1333>reader</I
1334></TT
1335>&nbsp;:</TD
1336><TD
1337WIDTH="80%"
1338ALIGN="LEFT"
1339VALIGN="TOP"
1340> the xmlTextReaderPtr used</TD
1341></TR
1342><TR
1343><TD
1344WIDTH="20%"
1345ALIGN="RIGHT"
1346VALIGN="TOP"
1347><SPAN
1348CLASS="emphasis"
1349><I
1350CLASS="EMPHASIS"
1351>Returns</I
1352></SPAN
1353> :</TD
1354><TD
1355WIDTH="80%"
1356ALIGN="LEFT"
1357VALIGN="TOP"
1358>a string containing the contents of the Element or Text node,
1359 or NULL if the reader is positioned on any other type of node.
1360 The string must be deallocated by the caller.</TD
1361></TR
1362></TBODY
1363></TABLE
1364><P
1365></P
1366></DIV
1367></DIV
1368><HR><DIV
1369CLASS="REFSECT2"
1370><A
1371NAME="AEN3230"
1372></A
1373><H3
1374><A
1375NAME="XMLTEXTREADERREADATTRIBUTEVALUE"
1376></A
1377>xmlTextReaderReadAttributeValue ()</H3
1378><TABLE
1379BORDER="0"
1380BGCOLOR="#D6E8FF"
1381WIDTH="100%"
1382CELLPADDING="6"
1383><TR
1384><TD
1385><PRE
1386CLASS="PROGRAMLISTING"
1387>int xmlTextReaderReadAttributeValue (<A
1388HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1389>xmlTextReaderPtr</A
1390> reader);</PRE
1391></TD
1392></TR
1393></TABLE
1394><P
1395>Parses an attribute value into one or more Text and EntityReference nodes.</P
1396><P
1397></P
1398><DIV
1399CLASS="INFORMALTABLE"
1400><A
1401NAME="AEN3237"
1402></A
1403><P
1404></P
1405><TABLE
1406BORDER="0"
1407WIDTH="100%"
1408BGCOLOR="#FFD0D0"
1409CELLSPACING="0"
1410CELLPADDING="4"
1411CLASS="CALSTABLE"
1412><TBODY
1413><TR
1414><TD
1415WIDTH="20%"
1416ALIGN="RIGHT"
1417VALIGN="TOP"
1418><TT
1419CLASS="PARAMETER"
1420><I
1421>reader</I
1422></TT
1423>&nbsp;:</TD
1424><TD
1425WIDTH="80%"
1426ALIGN="LEFT"
1427VALIGN="TOP"
1428> the xmlTextReaderPtr used</TD
1429></TR
1430><TR
1431><TD
1432WIDTH="20%"
1433ALIGN="RIGHT"
1434VALIGN="TOP"
1435><SPAN
1436CLASS="emphasis"
1437><I
1438CLASS="EMPHASIS"
1439>Returns</I
1440></SPAN
1441> :</TD
1442><TD
1443WIDTH="80%"
1444ALIGN="LEFT"
1445VALIGN="TOP"
1446>1 in case of success, 0 if the reader was not positionned on an
1447 ttribute node or all the attribute values have been read, or -1
1448 in case of error.</TD
1449></TR
1450></TBODY
1451></TABLE
1452><P
1453></P
1454></DIV
1455></DIV
1456><HR><DIV
1457CLASS="REFSECT2"
1458><A
1459NAME="AEN3250"
1460></A
1461><H3
1462><A
1463NAME="XMLTEXTREADERATTRIBUTECOUNT"
1464></A
1465>xmlTextReaderAttributeCount ()</H3
1466><TABLE
1467BORDER="0"
1468BGCOLOR="#D6E8FF"
1469WIDTH="100%"
1470CELLPADDING="6"
1471><TR
1472><TD
1473><PRE
1474CLASS="PROGRAMLISTING"
1475>int xmlTextReaderAttributeCount (<A
1476HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1477>xmlTextReaderPtr</A
1478> reader);</PRE
1479></TD
1480></TR
1481></TABLE
1482><P
1483>Provides the number of attributes of the current node</P
1484><P
1485></P
1486><DIV
1487CLASS="INFORMALTABLE"
1488><A
1489NAME="AEN3257"
1490></A
1491><P
1492></P
1493><TABLE
1494BORDER="0"
1495WIDTH="100%"
1496BGCOLOR="#FFD0D0"
1497CELLSPACING="0"
1498CELLPADDING="4"
1499CLASS="CALSTABLE"
1500><TBODY
1501><TR
1502><TD
1503WIDTH="20%"
1504ALIGN="RIGHT"
1505VALIGN="TOP"
1506><TT
1507CLASS="PARAMETER"
1508><I
1509>reader</I
1510></TT
1511>&nbsp;:</TD
1512><TD
1513WIDTH="80%"
1514ALIGN="LEFT"
1515VALIGN="TOP"
1516> the xmlTextReaderPtr used</TD
1517></TR
1518><TR
1519><TD
1520WIDTH="20%"
1521ALIGN="RIGHT"
1522VALIGN="TOP"
1523><SPAN
1524CLASS="emphasis"
1525><I
1526CLASS="EMPHASIS"
1527>Returns</I
1528></SPAN
1529> :</TD
1530><TD
1531WIDTH="80%"
1532ALIGN="LEFT"
1533VALIGN="TOP"
1534>0 i no attributes, -1 in case of error or the attribute count</TD
1535></TR
1536></TBODY
1537></TABLE
1538><P
1539></P
1540></DIV
1541></DIV
1542><HR><DIV
1543CLASS="REFSECT2"
1544><A
1545NAME="AEN3270"
1546></A
1547><H3
1548><A
1549NAME="XMLTEXTREADERBASEURI"
1550></A
1551>xmlTextReaderBaseUri ()</H3
1552><TABLE
1553BORDER="0"
1554BGCOLOR="#D6E8FF"
1555WIDTH="100%"
1556CELLPADDING="6"
1557><TR
1558><TD
1559><PRE
1560CLASS="PROGRAMLISTING"
1561><A
1562HREF="libxml-tree.html#XMLCHAR"
1563>xmlChar</A
1564>* xmlTextReaderBaseUri (<A
1565HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1566>xmlTextReaderPtr</A
1567> reader);</PRE
1568></TD
1569></TR
1570></TABLE
1571><P
1572>The base URI of the node.</P
1573><P
1574></P
1575><DIV
1576CLASS="INFORMALTABLE"
1577><A
1578NAME="AEN3278"
1579></A
1580><P
1581></P
1582><TABLE
1583BORDER="0"
1584WIDTH="100%"
1585BGCOLOR="#FFD0D0"
1586CELLSPACING="0"
1587CELLPADDING="4"
1588CLASS="CALSTABLE"
1589><TBODY
1590><TR
1591><TD
1592WIDTH="20%"
1593ALIGN="RIGHT"
1594VALIGN="TOP"
1595><TT
1596CLASS="PARAMETER"
1597><I
1598>reader</I
1599></TT
1600>&nbsp;:</TD
1601><TD
1602WIDTH="80%"
1603ALIGN="LEFT"
1604VALIGN="TOP"
1605> the xmlTextReaderPtr used</TD
1606></TR
1607><TR
1608><TD
1609WIDTH="20%"
1610ALIGN="RIGHT"
1611VALIGN="TOP"
1612><SPAN
1613CLASS="emphasis"
1614><I
1615CLASS="EMPHASIS"
1616>Returns</I
1617></SPAN
1618> :</TD
1619><TD
1620WIDTH="80%"
1621ALIGN="LEFT"
1622VALIGN="TOP"
1623>the base URI or NULL if not available</TD
1624></TR
1625></TBODY
1626></TABLE
1627><P
1628></P
1629></DIV
1630></DIV
1631><HR><DIV
1632CLASS="REFSECT2"
1633><A
1634NAME="AEN3291"
1635></A
1636><H3
1637><A
1638NAME="XMLTEXTREADERDEPTH"
1639></A
1640>xmlTextReaderDepth ()</H3
1641><TABLE
1642BORDER="0"
1643BGCOLOR="#D6E8FF"
1644WIDTH="100%"
1645CELLPADDING="6"
1646><TR
1647><TD
1648><PRE
1649CLASS="PROGRAMLISTING"
1650>int xmlTextReaderDepth (<A
1651HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1652>xmlTextReaderPtr</A
1653> reader);</PRE
1654></TD
1655></TR
1656></TABLE
1657><P
1658>The depth of the node in the tree.</P
1659><P
1660></P
1661><DIV
1662CLASS="INFORMALTABLE"
1663><A
1664NAME="AEN3298"
1665></A
1666><P
1667></P
1668><TABLE
1669BORDER="0"
1670WIDTH="100%"
1671BGCOLOR="#FFD0D0"
1672CELLSPACING="0"
1673CELLPADDING="4"
1674CLASS="CALSTABLE"
1675><TBODY
1676><TR
1677><TD
1678WIDTH="20%"
1679ALIGN="RIGHT"
1680VALIGN="TOP"
1681><TT
1682CLASS="PARAMETER"
1683><I
1684>reader</I
1685></TT
1686>&nbsp;:</TD
1687><TD
1688WIDTH="80%"
1689ALIGN="LEFT"
1690VALIGN="TOP"
1691> the xmlTextReaderPtr used</TD
1692></TR
1693><TR
1694><TD
1695WIDTH="20%"
1696ALIGN="RIGHT"
1697VALIGN="TOP"
1698><SPAN
1699CLASS="emphasis"
1700><I
1701CLASS="EMPHASIS"
1702>Returns</I
1703></SPAN
1704> :</TD
1705><TD
1706WIDTH="80%"
1707ALIGN="LEFT"
1708VALIGN="TOP"
1709>the depth or -1 in case of error</TD
1710></TR
1711></TBODY
1712></TABLE
1713><P
1714></P
1715></DIV
1716></DIV
1717><HR><DIV
1718CLASS="REFSECT2"
1719><A
1720NAME="AEN3311"
1721></A
1722><H3
1723><A
1724NAME="XMLTEXTREADERHASATTRIBUTES"
1725></A
1726>xmlTextReaderHasAttributes ()</H3
1727><TABLE
1728BORDER="0"
1729BGCOLOR="#D6E8FF"
1730WIDTH="100%"
1731CELLPADDING="6"
1732><TR
1733><TD
1734><PRE
1735CLASS="PROGRAMLISTING"
1736>int xmlTextReaderHasAttributes (<A
1737HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1738>xmlTextReaderPtr</A
1739> reader);</PRE
1740></TD
1741></TR
1742></TABLE
1743><P
1744>Whether the node has attributes.</P
1745><P
1746></P
1747><DIV
1748CLASS="INFORMALTABLE"
1749><A
1750NAME="AEN3318"
1751></A
1752><P
1753></P
1754><TABLE
1755BORDER="0"
1756WIDTH="100%"
1757BGCOLOR="#FFD0D0"
1758CELLSPACING="0"
1759CELLPADDING="4"
1760CLASS="CALSTABLE"
1761><TBODY
1762><TR
1763><TD
1764WIDTH="20%"
1765ALIGN="RIGHT"
1766VALIGN="TOP"
1767><TT
1768CLASS="PARAMETER"
1769><I
1770>reader</I
1771></TT
1772>&nbsp;:</TD
1773><TD
1774WIDTH="80%"
1775ALIGN="LEFT"
1776VALIGN="TOP"
1777> the xmlTextReaderPtr used</TD
1778></TR
1779><TR
1780><TD
1781WIDTH="20%"
1782ALIGN="RIGHT"
1783VALIGN="TOP"
1784><SPAN
1785CLASS="emphasis"
1786><I
1787CLASS="EMPHASIS"
1788>Returns</I
1789></SPAN
1790> :</TD
1791><TD
1792WIDTH="80%"
1793ALIGN="LEFT"
1794VALIGN="TOP"
1795>1 if true, 0 if false, and -1 in case or error</TD
1796></TR
1797></TBODY
1798></TABLE
1799><P
1800></P
1801></DIV
1802></DIV
1803><HR><DIV
1804CLASS="REFSECT2"
1805><A
1806NAME="AEN3331"
1807></A
1808><H3
1809><A
1810NAME="XMLTEXTREADERHASVALUE"
1811></A
1812>xmlTextReaderHasValue ()</H3
1813><TABLE
1814BORDER="0"
1815BGCOLOR="#D6E8FF"
1816WIDTH="100%"
1817CELLPADDING="6"
1818><TR
1819><TD
1820><PRE
1821CLASS="PROGRAMLISTING"
1822>int xmlTextReaderHasValue (<A
1823HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1824>xmlTextReaderPtr</A
1825> reader);</PRE
1826></TD
1827></TR
1828></TABLE
1829><P
1830>Whether the node can have a text value.</P
1831><P
1832></P
1833><DIV
1834CLASS="INFORMALTABLE"
1835><A
1836NAME="AEN3338"
1837></A
1838><P
1839></P
1840><TABLE
1841BORDER="0"
1842WIDTH="100%"
1843BGCOLOR="#FFD0D0"
1844CELLSPACING="0"
1845CELLPADDING="4"
1846CLASS="CALSTABLE"
1847><TBODY
1848><TR
1849><TD
1850WIDTH="20%"
1851ALIGN="RIGHT"
1852VALIGN="TOP"
1853><TT
1854CLASS="PARAMETER"
1855><I
1856>reader</I
1857></TT
1858>&nbsp;:</TD
1859><TD
1860WIDTH="80%"
1861ALIGN="LEFT"
1862VALIGN="TOP"
1863> the xmlTextReaderPtr used</TD
1864></TR
1865><TR
1866><TD
1867WIDTH="20%"
1868ALIGN="RIGHT"
1869VALIGN="TOP"
1870><SPAN
1871CLASS="emphasis"
1872><I
1873CLASS="EMPHASIS"
1874>Returns</I
1875></SPAN
1876> :</TD
1877><TD
1878WIDTH="80%"
1879ALIGN="LEFT"
1880VALIGN="TOP"
1881>1 if true, 0 if false, and -1 in case or error</TD
1882></TR
1883></TBODY
1884></TABLE
1885><P
1886></P
1887></DIV
1888></DIV
1889><HR><DIV
1890CLASS="REFSECT2"
1891><A
1892NAME="AEN3351"
1893></A
1894><H3
1895><A
1896NAME="XMLTEXTREADERISDEFAULT"
1897></A
1898>xmlTextReaderIsDefault ()</H3
1899><TABLE
1900BORDER="0"
1901BGCOLOR="#D6E8FF"
1902WIDTH="100%"
1903CELLPADDING="6"
1904><TR
1905><TD
1906><PRE
1907CLASS="PROGRAMLISTING"
1908>int xmlTextReaderIsDefault (<A
1909HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1910>xmlTextReaderPtr</A
1911> reader);</PRE
1912></TD
1913></TR
1914></TABLE
1915><P
1916>Whether an Attribute node was generated from the default value
1917defined in the DTD or schema.</P
1918><P
1919></P
1920><DIV
1921CLASS="INFORMALTABLE"
1922><A
1923NAME="AEN3358"
1924></A
1925><P
1926></P
1927><TABLE
1928BORDER="0"
1929WIDTH="100%"
1930BGCOLOR="#FFD0D0"
1931CELLSPACING="0"
1932CELLPADDING="4"
1933CLASS="CALSTABLE"
1934><TBODY
1935><TR
1936><TD
1937WIDTH="20%"
1938ALIGN="RIGHT"
1939VALIGN="TOP"
1940><TT
1941CLASS="PARAMETER"
1942><I
1943>reader</I
1944></TT
1945>&nbsp;:</TD
1946><TD
1947WIDTH="80%"
1948ALIGN="LEFT"
1949VALIGN="TOP"
1950> the xmlTextReaderPtr used</TD
1951></TR
1952><TR
1953><TD
1954WIDTH="20%"
1955ALIGN="RIGHT"
1956VALIGN="TOP"
1957><SPAN
1958CLASS="emphasis"
1959><I
1960CLASS="EMPHASIS"
1961>Returns</I
1962></SPAN
1963> :</TD
1964><TD
1965WIDTH="80%"
1966ALIGN="LEFT"
1967VALIGN="TOP"
1968>0 if not defaulted, 1 if defaulted, and -1 in case of error</TD
1969></TR
1970></TBODY
1971></TABLE
1972><P
1973></P
1974></DIV
1975></DIV
1976><HR><DIV
1977CLASS="REFSECT2"
1978><A
1979NAME="AEN3371"
1980></A
1981><H3
1982><A
1983NAME="XMLTEXTREADERISEMPTYELEMENT"
1984></A
1985>xmlTextReaderIsEmptyElement ()</H3
1986><TABLE
1987BORDER="0"
1988BGCOLOR="#D6E8FF"
1989WIDTH="100%"
1990CELLPADDING="6"
1991><TR
1992><TD
1993><PRE
1994CLASS="PROGRAMLISTING"
1995>int xmlTextReaderIsEmptyElement (<A
1996HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
1997>xmlTextReaderPtr</A
1998> reader);</PRE
1999></TD
2000></TR
2001></TABLE
2002><P
2003>Check if the current node is empty</P
2004><P
2005></P
2006><DIV
2007CLASS="INFORMALTABLE"
2008><A
2009NAME="AEN3378"
2010></A
2011><P
2012></P
2013><TABLE
2014BORDER="0"
2015WIDTH="100%"
2016BGCOLOR="#FFD0D0"
2017CELLSPACING="0"
2018CELLPADDING="4"
2019CLASS="CALSTABLE"
2020><TBODY
2021><TR
2022><TD
2023WIDTH="20%"
2024ALIGN="RIGHT"
2025VALIGN="TOP"
2026><TT
2027CLASS="PARAMETER"
2028><I
2029>reader</I
2030></TT
2031>&nbsp;:</TD
2032><TD
2033WIDTH="80%"
2034ALIGN="LEFT"
2035VALIGN="TOP"
2036> the xmlTextReaderPtr used</TD
2037></TR
2038><TR
2039><TD
2040WIDTH="20%"
2041ALIGN="RIGHT"
2042VALIGN="TOP"
2043><SPAN
2044CLASS="emphasis"
2045><I
2046CLASS="EMPHASIS"
2047>Returns</I
2048></SPAN
2049> :</TD
2050><TD
2051WIDTH="80%"
2052ALIGN="LEFT"
2053VALIGN="TOP"
2054>1 if empty, 0 if not and -1 in case of error</TD
2055></TR
2056></TBODY
2057></TABLE
2058><P
2059></P
2060></DIV
2061></DIV
2062><HR><DIV
2063CLASS="REFSECT2"
2064><A
2065NAME="AEN3391"
2066></A
2067><H3
2068><A
2069NAME="XMLTEXTREADERLOCALNAME"
2070></A
2071>xmlTextReaderLocalName ()</H3
2072><TABLE
2073BORDER="0"
2074BGCOLOR="#D6E8FF"
2075WIDTH="100%"
2076CELLPADDING="6"
2077><TR
2078><TD
2079><PRE
2080CLASS="PROGRAMLISTING"
2081><A
2082HREF="libxml-tree.html#XMLCHAR"
2083>xmlChar</A
2084>* xmlTextReaderLocalName (<A
2085HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2086>xmlTextReaderPtr</A
2087> reader);</PRE
2088></TD
2089></TR
2090></TABLE
2091><P
2092>The local name of the node.</P
2093><P
2094></P
2095><DIV
2096CLASS="INFORMALTABLE"
2097><A
2098NAME="AEN3399"
2099></A
2100><P
2101></P
2102><TABLE
2103BORDER="0"
2104WIDTH="100%"
2105BGCOLOR="#FFD0D0"
2106CELLSPACING="0"
2107CELLPADDING="4"
2108CLASS="CALSTABLE"
2109><TBODY
2110><TR
2111><TD
2112WIDTH="20%"
2113ALIGN="RIGHT"
2114VALIGN="TOP"
2115><TT
2116CLASS="PARAMETER"
2117><I
2118>reader</I
2119></TT
2120>&nbsp;:</TD
2121><TD
2122WIDTH="80%"
2123ALIGN="LEFT"
2124VALIGN="TOP"
2125> the xmlTextReaderPtr used</TD
2126></TR
2127><TR
2128><TD
2129WIDTH="20%"
2130ALIGN="RIGHT"
2131VALIGN="TOP"
2132><SPAN
2133CLASS="emphasis"
2134><I
2135CLASS="EMPHASIS"
2136>Returns</I
2137></SPAN
2138> :</TD
2139><TD
2140WIDTH="80%"
2141ALIGN="LEFT"
2142VALIGN="TOP"
2143>the local name or NULL if not available</TD
2144></TR
2145></TBODY
2146></TABLE
2147><P
2148></P
2149></DIV
2150></DIV
2151><HR><DIV
2152CLASS="REFSECT2"
2153><A
2154NAME="AEN3412"
2155></A
2156><H3
2157><A
2158NAME="XMLTEXTREADERNAME"
2159></A
2160>xmlTextReaderName ()</H3
2161><TABLE
2162BORDER="0"
2163BGCOLOR="#D6E8FF"
2164WIDTH="100%"
2165CELLPADDING="6"
2166><TR
2167><TD
2168><PRE
2169CLASS="PROGRAMLISTING"
2170><A
2171HREF="libxml-tree.html#XMLCHAR"
2172>xmlChar</A
2173>* xmlTextReaderName (<A
2174HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2175>xmlTextReaderPtr</A
2176> reader);</PRE
2177></TD
2178></TR
2179></TABLE
2180><P
2181>The qualified name of the node, equal to Prefix :LocalName.</P
2182><P
2183></P
2184><DIV
2185CLASS="INFORMALTABLE"
2186><A
2187NAME="AEN3420"
2188></A
2189><P
2190></P
2191><TABLE
2192BORDER="0"
2193WIDTH="100%"
2194BGCOLOR="#FFD0D0"
2195CELLSPACING="0"
2196CELLPADDING="4"
2197CLASS="CALSTABLE"
2198><TBODY
2199><TR
2200><TD
2201WIDTH="20%"
2202ALIGN="RIGHT"
2203VALIGN="TOP"
2204><TT
2205CLASS="PARAMETER"
2206><I
2207>reader</I
2208></TT
2209>&nbsp;:</TD
2210><TD
2211WIDTH="80%"
2212ALIGN="LEFT"
2213VALIGN="TOP"
2214> the xmlTextReaderPtr used</TD
2215></TR
2216><TR
2217><TD
2218WIDTH="20%"
2219ALIGN="RIGHT"
2220VALIGN="TOP"
2221><SPAN
2222CLASS="emphasis"
2223><I
2224CLASS="EMPHASIS"
2225>Returns</I
2226></SPAN
2227> :</TD
2228><TD
2229WIDTH="80%"
2230ALIGN="LEFT"
2231VALIGN="TOP"
2232>the local name or NULL if not available</TD
2233></TR
2234></TBODY
2235></TABLE
2236><P
2237></P
2238></DIV
2239></DIV
2240><HR><DIV
2241CLASS="REFSECT2"
2242><A
2243NAME="AEN3433"
2244></A
2245><H3
2246><A
2247NAME="XMLTEXTREADERNAMESPACEURI"
2248></A
2249>xmlTextReaderNamespaceUri ()</H3
2250><TABLE
2251BORDER="0"
2252BGCOLOR="#D6E8FF"
2253WIDTH="100%"
2254CELLPADDING="6"
2255><TR
2256><TD
2257><PRE
2258CLASS="PROGRAMLISTING"
2259><A
2260HREF="libxml-tree.html#XMLCHAR"
2261>xmlChar</A
2262>* xmlTextReaderNamespaceUri (<A
2263HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2264>xmlTextReaderPtr</A
2265> reader);</PRE
2266></TD
2267></TR
2268></TABLE
2269><P
2270>The URI defining the namespace associated with the node.</P
2271><P
2272></P
2273><DIV
2274CLASS="INFORMALTABLE"
2275><A
2276NAME="AEN3441"
2277></A
2278><P
2279></P
2280><TABLE
2281BORDER="0"
2282WIDTH="100%"
2283BGCOLOR="#FFD0D0"
2284CELLSPACING="0"
2285CELLPADDING="4"
2286CLASS="CALSTABLE"
2287><TBODY
2288><TR
2289><TD
2290WIDTH="20%"
2291ALIGN="RIGHT"
2292VALIGN="TOP"
2293><TT
2294CLASS="PARAMETER"
2295><I
2296>reader</I
2297></TT
2298>&nbsp;:</TD
2299><TD
2300WIDTH="80%"
2301ALIGN="LEFT"
2302VALIGN="TOP"
2303> the xmlTextReaderPtr used</TD
2304></TR
2305><TR
2306><TD
2307WIDTH="20%"
2308ALIGN="RIGHT"
2309VALIGN="TOP"
2310><SPAN
2311CLASS="emphasis"
2312><I
2313CLASS="EMPHASIS"
2314>Returns</I
2315></SPAN
2316> :</TD
2317><TD
2318WIDTH="80%"
2319ALIGN="LEFT"
2320VALIGN="TOP"
2321>the namespace URI or NULL if not available</TD
2322></TR
2323></TBODY
2324></TABLE
2325><P
2326></P
2327></DIV
2328></DIV
2329><HR><DIV
2330CLASS="REFSECT2"
2331><A
2332NAME="AEN3454"
2333></A
2334><H3
2335><A
2336NAME="XMLTEXTREADERNODETYPE"
2337></A
2338>xmlTextReaderNodeType ()</H3
2339><TABLE
2340BORDER="0"
2341BGCOLOR="#D6E8FF"
2342WIDTH="100%"
2343CELLPADDING="6"
2344><TR
2345><TD
2346><PRE
2347CLASS="PROGRAMLISTING"
2348>int xmlTextReaderNodeType (<A
2349HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2350>xmlTextReaderPtr</A
2351> reader);</PRE
2352></TD
2353></TR
2354></TABLE
2355><P
2356>Get the node type of the current node
2357Reference:
2358http://dotgnu.org/pnetlib-doc/System/Xml/XmlNodeType.html</P
2359><P
2360></P
2361><DIV
2362CLASS="INFORMALTABLE"
2363><A
2364NAME="AEN3461"
2365></A
2366><P
2367></P
2368><TABLE
2369BORDER="0"
2370WIDTH="100%"
2371BGCOLOR="#FFD0D0"
2372CELLSPACING="0"
2373CELLPADDING="4"
2374CLASS="CALSTABLE"
2375><TBODY
2376><TR
2377><TD
2378WIDTH="20%"
2379ALIGN="RIGHT"
2380VALIGN="TOP"
2381><TT
2382CLASS="PARAMETER"
2383><I
2384>reader</I
2385></TT
2386>&nbsp;:</TD
2387><TD
2388WIDTH="80%"
2389ALIGN="LEFT"
2390VALIGN="TOP"
2391> the xmlTextReaderPtr used</TD
2392></TR
2393><TR
2394><TD
2395WIDTH="20%"
2396ALIGN="RIGHT"
2397VALIGN="TOP"
2398><SPAN
2399CLASS="emphasis"
2400><I
2401CLASS="EMPHASIS"
2402>Returns</I
2403></SPAN
2404> :</TD
2405><TD
2406WIDTH="80%"
2407ALIGN="LEFT"
2408VALIGN="TOP"
2409>the xmlNodeType of the current node or -1 in case of error</TD
2410></TR
2411></TBODY
2412></TABLE
2413><P
2414></P
2415></DIV
2416></DIV
2417><HR><DIV
2418CLASS="REFSECT2"
2419><A
2420NAME="AEN3474"
2421></A
2422><H3
2423><A
2424NAME="XMLTEXTREADERPREFIX"
2425></A
2426>xmlTextReaderPrefix ()</H3
2427><TABLE
2428BORDER="0"
2429BGCOLOR="#D6E8FF"
2430WIDTH="100%"
2431CELLPADDING="6"
2432><TR
2433><TD
2434><PRE
2435CLASS="PROGRAMLISTING"
2436><A
2437HREF="libxml-tree.html#XMLCHAR"
2438>xmlChar</A
2439>* xmlTextReaderPrefix (<A
2440HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2441>xmlTextReaderPtr</A
2442> reader);</PRE
2443></TD
2444></TR
2445></TABLE
2446><P
2447>A shorthand reference to the namespace associated with the node.</P
2448><P
2449></P
2450><DIV
2451CLASS="INFORMALTABLE"
2452><A
2453NAME="AEN3482"
2454></A
2455><P
2456></P
2457><TABLE
2458BORDER="0"
2459WIDTH="100%"
2460BGCOLOR="#FFD0D0"
2461CELLSPACING="0"
2462CELLPADDING="4"
2463CLASS="CALSTABLE"
2464><TBODY
2465><TR
2466><TD
2467WIDTH="20%"
2468ALIGN="RIGHT"
2469VALIGN="TOP"
2470><TT
2471CLASS="PARAMETER"
2472><I
2473>reader</I
2474></TT
2475>&nbsp;:</TD
2476><TD
2477WIDTH="80%"
2478ALIGN="LEFT"
2479VALIGN="TOP"
2480> the xmlTextReaderPtr used</TD
2481></TR
2482><TR
2483><TD
2484WIDTH="20%"
2485ALIGN="RIGHT"
2486VALIGN="TOP"
2487><SPAN
2488CLASS="emphasis"
2489><I
2490CLASS="EMPHASIS"
2491>Returns</I
2492></SPAN
2493> :</TD
2494><TD
2495WIDTH="80%"
2496ALIGN="LEFT"
2497VALIGN="TOP"
2498>the prefix or NULL if not available</TD
2499></TR
2500></TBODY
2501></TABLE
2502><P
2503></P
2504></DIV
2505></DIV
2506><HR><DIV
2507CLASS="REFSECT2"
2508><A
2509NAME="AEN3495"
2510></A
2511><H3
2512><A
2513NAME="XMLTEXTREADERQUOTECHAR"
2514></A
2515>xmlTextReaderQuoteChar ()</H3
2516><TABLE
2517BORDER="0"
2518BGCOLOR="#D6E8FF"
2519WIDTH="100%"
2520CELLPADDING="6"
2521><TR
2522><TD
2523><PRE
2524CLASS="PROGRAMLISTING"
2525>int xmlTextReaderQuoteChar (<A
2526HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2527>xmlTextReaderPtr</A
2528> reader);</PRE
2529></TD
2530></TR
2531></TABLE
2532><P
2533>The quotation mark character used to enclose the value of an attribute.</P
2534><P
2535></P
2536><DIV
2537CLASS="INFORMALTABLE"
2538><A
2539NAME="AEN3502"
2540></A
2541><P
2542></P
2543><TABLE
2544BORDER="0"
2545WIDTH="100%"
2546BGCOLOR="#FFD0D0"
2547CELLSPACING="0"
2548CELLPADDING="4"
2549CLASS="CALSTABLE"
2550><TBODY
2551><TR
2552><TD
2553WIDTH="20%"
2554ALIGN="RIGHT"
2555VALIGN="TOP"
2556><TT
2557CLASS="PARAMETER"
2558><I
2559>reader</I
2560></TT
2561>&nbsp;:</TD
2562><TD
2563WIDTH="80%"
2564ALIGN="LEFT"
2565VALIGN="TOP"
2566> the xmlTextReaderPtr used</TD
2567></TR
2568><TR
2569><TD
2570WIDTH="20%"
2571ALIGN="RIGHT"
2572VALIGN="TOP"
2573><SPAN
2574CLASS="emphasis"
2575><I
2576CLASS="EMPHASIS"
2577>Returns</I
2578></SPAN
2579> :</TD
2580><TD
2581WIDTH="80%"
2582ALIGN="LEFT"
2583VALIGN="TOP"
2584>" or ' and -1 in case of error</TD
2585></TR
2586></TBODY
2587></TABLE
2588><P
2589></P
2590></DIV
2591></DIV
2592><HR><DIV
2593CLASS="REFSECT2"
2594><A
2595NAME="AEN3515"
2596></A
2597><H3
2598><A
2599NAME="XMLTEXTREADERVALUE"
2600></A
2601>xmlTextReaderValue ()</H3
2602><TABLE
2603BORDER="0"
2604BGCOLOR="#D6E8FF"
2605WIDTH="100%"
2606CELLPADDING="6"
2607><TR
2608><TD
2609><PRE
2610CLASS="PROGRAMLISTING"
2611><A
2612HREF="libxml-tree.html#XMLCHAR"
2613>xmlChar</A
2614>* xmlTextReaderValue (<A
2615HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2616>xmlTextReaderPtr</A
2617> reader);</PRE
2618></TD
2619></TR
2620></TABLE
2621><P
2622>Provides the text value of the node if present</P
2623><P
2624></P
2625><DIV
2626CLASS="INFORMALTABLE"
2627><A
2628NAME="AEN3523"
2629></A
2630><P
2631></P
2632><TABLE
2633BORDER="0"
2634WIDTH="100%"
2635BGCOLOR="#FFD0D0"
2636CELLSPACING="0"
2637CELLPADDING="4"
2638CLASS="CALSTABLE"
2639><TBODY
2640><TR
2641><TD
2642WIDTH="20%"
2643ALIGN="RIGHT"
2644VALIGN="TOP"
2645><TT
2646CLASS="PARAMETER"
2647><I
2648>reader</I
2649></TT
2650>&nbsp;:</TD
2651><TD
2652WIDTH="80%"
2653ALIGN="LEFT"
2654VALIGN="TOP"
2655> the xmlTextReaderPtr used</TD
2656></TR
2657><TR
2658><TD
2659WIDTH="20%"
2660ALIGN="RIGHT"
2661VALIGN="TOP"
2662><SPAN
2663CLASS="emphasis"
2664><I
2665CLASS="EMPHASIS"
2666>Returns</I
2667></SPAN
2668> :</TD
2669><TD
2670WIDTH="80%"
2671ALIGN="LEFT"
2672VALIGN="TOP"
2673>the string or NULL if not available. The retsult must be deallocated
2674 with <A
2675HREF="libxml-globals.html#XMLFREE"
2676>xmlFree</A
2677>()</TD
2678></TR
2679></TBODY
2680></TABLE
2681><P
2682></P
2683></DIV
2684></DIV
2685><HR><DIV
2686CLASS="REFSECT2"
2687><A
2688NAME="AEN3537"
2689></A
2690><H3
2691><A
2692NAME="XMLTEXTREADERXMLLANG"
2693></A
2694>xmlTextReaderXmlLang ()</H3
2695><TABLE
2696BORDER="0"
2697BGCOLOR="#D6E8FF"
2698WIDTH="100%"
2699CELLPADDING="6"
2700><TR
2701><TD
2702><PRE
2703CLASS="PROGRAMLISTING"
2704><A
2705HREF="libxml-tree.html#XMLCHAR"
2706>xmlChar</A
2707>* xmlTextReaderXmlLang (<A
2708HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2709>xmlTextReaderPtr</A
2710> reader);</PRE
2711></TD
2712></TR
2713></TABLE
2714><P
2715>The xml:lang scope within which the node resides.</P
2716><P
2717></P
2718><DIV
2719CLASS="INFORMALTABLE"
2720><A
2721NAME="AEN3545"
2722></A
2723><P
2724></P
2725><TABLE
2726BORDER="0"
2727WIDTH="100%"
2728BGCOLOR="#FFD0D0"
2729CELLSPACING="0"
2730CELLPADDING="4"
2731CLASS="CALSTABLE"
2732><TBODY
2733><TR
2734><TD
2735WIDTH="20%"
2736ALIGN="RIGHT"
2737VALIGN="TOP"
2738><TT
2739CLASS="PARAMETER"
2740><I
2741>reader</I
2742></TT
2743>&nbsp;:</TD
2744><TD
2745WIDTH="80%"
2746ALIGN="LEFT"
2747VALIGN="TOP"
2748> the xmlTextReaderPtr used</TD
2749></TR
2750><TR
2751><TD
2752WIDTH="20%"
2753ALIGN="RIGHT"
2754VALIGN="TOP"
2755><SPAN
2756CLASS="emphasis"
2757><I
2758CLASS="EMPHASIS"
2759>Returns</I
2760></SPAN
2761> :</TD
2762><TD
2763WIDTH="80%"
2764ALIGN="LEFT"
2765VALIGN="TOP"
2766>the xml:lang value or NULL if none exists.</TD
2767></TR
2768></TBODY
2769></TABLE
2770><P
2771></P
2772></DIV
2773></DIV
2774><HR><DIV
2775CLASS="REFSECT2"
2776><A
2777NAME="AEN3558"
2778></A
2779><H3
2780><A
2781NAME="XMLTEXTREADERREADSTATE"
2782></A
2783>xmlTextReaderReadState ()</H3
2784><TABLE
2785BORDER="0"
2786BGCOLOR="#D6E8FF"
2787WIDTH="100%"
2788CELLPADDING="6"
2789><TR
2790><TD
2791><PRE
2792CLASS="PROGRAMLISTING"
2793>int xmlTextReaderReadState (<A
2794HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2795>xmlTextReaderPtr</A
2796> reader);</PRE
2797></TD
2798></TR
2799></TABLE
2800><P
2801>Gets the read state of the reader.</P
2802><P
2803></P
2804><DIV
2805CLASS="INFORMALTABLE"
2806><A
2807NAME="AEN3565"
2808></A
2809><P
2810></P
2811><TABLE
2812BORDER="0"
2813WIDTH="100%"
2814BGCOLOR="#FFD0D0"
2815CELLSPACING="0"
2816CELLPADDING="4"
2817CLASS="CALSTABLE"
2818><TBODY
2819><TR
2820><TD
2821WIDTH="20%"
2822ALIGN="RIGHT"
2823VALIGN="TOP"
2824><TT
2825CLASS="PARAMETER"
2826><I
2827>reader</I
2828></TT
2829>&nbsp;:</TD
2830><TD
2831WIDTH="80%"
2832ALIGN="LEFT"
2833VALIGN="TOP"
2834> the xmlTextReaderPtr used</TD
2835></TR
2836><TR
2837><TD
2838WIDTH="20%"
2839ALIGN="RIGHT"
2840VALIGN="TOP"
2841><SPAN
2842CLASS="emphasis"
2843><I
2844CLASS="EMPHASIS"
2845>Returns</I
2846></SPAN
2847> :</TD
2848><TD
2849WIDTH="80%"
2850ALIGN="LEFT"
2851VALIGN="TOP"
2852>the state value, or -1 in case of error</TD
2853></TR
2854></TBODY
2855></TABLE
2856><P
2857></P
2858></DIV
2859></DIV
2860><HR><DIV
2861CLASS="REFSECT2"
2862><A
2863NAME="AEN3578"
2864></A
2865><H3
2866><A
2867NAME="XMLTEXTREADERCLOSE"
2868></A
2869>xmlTextReaderClose ()</H3
2870><TABLE
2871BORDER="0"
2872BGCOLOR="#D6E8FF"
2873WIDTH="100%"
2874CELLPADDING="6"
2875><TR
2876><TD
2877><PRE
2878CLASS="PROGRAMLISTING"
2879>int xmlTextReaderClose (<A
2880HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2881>xmlTextReaderPtr</A
2882> reader);</PRE
2883></TD
2884></TR
2885></TABLE
2886><P
2887>This method releases any resources allocated by the current instance
2888changes the state to Closed and close any underlying input.</P
2889><P
2890></P
2891><DIV
2892CLASS="INFORMALTABLE"
2893><A
2894NAME="AEN3585"
2895></A
2896><P
2897></P
2898><TABLE
2899BORDER="0"
2900WIDTH="100%"
2901BGCOLOR="#FFD0D0"
2902CELLSPACING="0"
2903CELLPADDING="4"
2904CLASS="CALSTABLE"
2905><TBODY
2906><TR
2907><TD
2908WIDTH="20%"
2909ALIGN="RIGHT"
2910VALIGN="TOP"
2911><TT
2912CLASS="PARAMETER"
2913><I
2914>reader</I
2915></TT
2916>&nbsp;:</TD
2917><TD
2918WIDTH="80%"
2919ALIGN="LEFT"
2920VALIGN="TOP"
2921> the xmlTextReaderPtr used</TD
2922></TR
2923><TR
2924><TD
2925WIDTH="20%"
2926ALIGN="RIGHT"
2927VALIGN="TOP"
2928><SPAN
2929CLASS="emphasis"
2930><I
2931CLASS="EMPHASIS"
2932>Returns</I
2933></SPAN
2934> :</TD
2935><TD
2936WIDTH="80%"
2937ALIGN="LEFT"
2938VALIGN="TOP"
2939>0 or -1 in case of error</TD
2940></TR
2941></TBODY
2942></TABLE
2943><P
2944></P
2945></DIV
2946></DIV
2947><HR><DIV
2948CLASS="REFSECT2"
2949><A
2950NAME="AEN3598"
2951></A
2952><H3
2953><A
2954NAME="XMLTEXTREADERGETATTRIBUTENO"
2955></A
2956>xmlTextReaderGetAttributeNo ()</H3
2957><TABLE
2958BORDER="0"
2959BGCOLOR="#D6E8FF"
2960WIDTH="100%"
2961CELLPADDING="6"
2962><TR
2963><TD
2964><PRE
2965CLASS="PROGRAMLISTING"
2966><A
2967HREF="libxml-tree.html#XMLCHAR"
2968>xmlChar</A
2969>* xmlTextReaderGetAttributeNo (<A
2970HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
2971>xmlTextReaderPtr</A
2972> reader,
2973 int no);</PRE
2974></TD
2975></TR
2976></TABLE
2977><P
2978>Provides the value of the attribute with the specified index relative
2979to the containing element.</P
2980><P
2981></P
2982><DIV
2983CLASS="INFORMALTABLE"
2984><A
2985NAME="AEN3606"
2986></A
2987><P
2988></P
2989><TABLE
2990BORDER="0"
2991WIDTH="100%"
2992BGCOLOR="#FFD0D0"
2993CELLSPACING="0"
2994CELLPADDING="4"
2995CLASS="CALSTABLE"
2996><TBODY
2997><TR
2998><TD
2999WIDTH="20%"
3000ALIGN="RIGHT"
3001VALIGN="TOP"
3002><TT
3003CLASS="PARAMETER"
3004><I
3005>reader</I
3006></TT
3007>&nbsp;:</TD
3008><TD
3009WIDTH="80%"
3010ALIGN="LEFT"
3011VALIGN="TOP"
3012> the xmlTextReaderPtr used</TD
3013></TR
3014><TR
3015><TD
3016WIDTH="20%"
3017ALIGN="RIGHT"
3018VALIGN="TOP"
3019><TT
3020CLASS="PARAMETER"
3021><I
3022>no</I
3023></TT
3024>&nbsp;:</TD
3025><TD
3026WIDTH="80%"
3027ALIGN="LEFT"
3028VALIGN="TOP"
3029> the zero-based index of the attribute relative to the containing element</TD
3030></TR
3031><TR
3032><TD
3033WIDTH="20%"
3034ALIGN="RIGHT"
3035VALIGN="TOP"
3036><SPAN
3037CLASS="emphasis"
3038><I
3039CLASS="EMPHASIS"
3040>Returns</I
3041></SPAN
3042> :</TD
3043><TD
3044WIDTH="80%"
3045ALIGN="LEFT"
3046VALIGN="TOP"
3047>a string containing the value of the specified attribute, or NULL
3048 in case of error. The string must be deallocated by the caller.</TD
3049></TR
3050></TBODY
3051></TABLE
3052><P
3053></P
3054></DIV
3055></DIV
3056><HR><DIV
3057CLASS="REFSECT2"
3058><A
3059NAME="AEN3623"
3060></A
3061><H3
3062><A
3063NAME="XMLTEXTREADERGETATTRIBUTE"
3064></A
3065>xmlTextReaderGetAttribute ()</H3
3066><TABLE
3067BORDER="0"
3068BGCOLOR="#D6E8FF"
3069WIDTH="100%"
3070CELLPADDING="6"
3071><TR
3072><TD
3073><PRE
3074CLASS="PROGRAMLISTING"
3075><A
3076HREF="libxml-tree.html#XMLCHAR"
3077>xmlChar</A
3078>* xmlTextReaderGetAttribute (<A
3079HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3080>xmlTextReaderPtr</A
3081> reader,
3082 const <A
3083HREF="libxml-tree.html#XMLCHAR"
3084>xmlChar</A
3085> *name);</PRE
3086></TD
3087></TR
3088></TABLE
3089><P
3090>Provides the value of the attribute with the specified qualified name.</P
3091><P
3092></P
3093><DIV
3094CLASS="INFORMALTABLE"
3095><A
3096NAME="AEN3632"
3097></A
3098><P
3099></P
3100><TABLE
3101BORDER="0"
3102WIDTH="100%"
3103BGCOLOR="#FFD0D0"
3104CELLSPACING="0"
3105CELLPADDING="4"
3106CLASS="CALSTABLE"
3107><TBODY
3108><TR
3109><TD
3110WIDTH="20%"
3111ALIGN="RIGHT"
3112VALIGN="TOP"
3113><TT
3114CLASS="PARAMETER"
3115><I
3116>reader</I
3117></TT
3118>&nbsp;:</TD
3119><TD
3120WIDTH="80%"
3121ALIGN="LEFT"
3122VALIGN="TOP"
3123> the xmlTextReaderPtr used</TD
3124></TR
3125><TR
3126><TD
3127WIDTH="20%"
3128ALIGN="RIGHT"
3129VALIGN="TOP"
3130><TT
3131CLASS="PARAMETER"
3132><I
3133>name</I
3134></TT
3135>&nbsp;:</TD
3136><TD
3137WIDTH="80%"
3138ALIGN="LEFT"
3139VALIGN="TOP"
3140> the qualified name of the attribute.</TD
3141></TR
3142><TR
3143><TD
3144WIDTH="20%"
3145ALIGN="RIGHT"
3146VALIGN="TOP"
3147><SPAN
3148CLASS="emphasis"
3149><I
3150CLASS="EMPHASIS"
3151>Returns</I
3152></SPAN
3153> :</TD
3154><TD
3155WIDTH="80%"
3156ALIGN="LEFT"
3157VALIGN="TOP"
3158>a string containing the value of the specified attribute, or NULL
3159 in case of error. The string must be deallocated by the caller.</TD
3160></TR
3161></TBODY
3162></TABLE
3163><P
3164></P
3165></DIV
3166></DIV
3167><HR><DIV
3168CLASS="REFSECT2"
3169><A
3170NAME="AEN3649"
3171></A
3172><H3
3173><A
3174NAME="XMLTEXTREADERGETATTRIBUTENS"
3175></A
3176>xmlTextReaderGetAttributeNs ()</H3
3177><TABLE
3178BORDER="0"
3179BGCOLOR="#D6E8FF"
3180WIDTH="100%"
3181CELLPADDING="6"
3182><TR
3183><TD
3184><PRE
3185CLASS="PROGRAMLISTING"
3186><A
3187HREF="libxml-tree.html#XMLCHAR"
3188>xmlChar</A
3189>* xmlTextReaderGetAttributeNs (<A
3190HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3191>xmlTextReaderPtr</A
3192> reader,
3193 const <A
3194HREF="libxml-tree.html#XMLCHAR"
3195>xmlChar</A
3196> *localName,
3197 const <A
3198HREF="libxml-tree.html#XMLCHAR"
3199>xmlChar</A
3200> *namespaceURI);</PRE
3201></TD
3202></TR
3203></TABLE
3204><P
3205>Provides the value of the specified attribute</P
3206><P
3207></P
3208><DIV
3209CLASS="INFORMALTABLE"
3210><A
3211NAME="AEN3659"
3212></A
3213><P
3214></P
3215><TABLE
3216BORDER="0"
3217WIDTH="100%"
3218BGCOLOR="#FFD0D0"
3219CELLSPACING="0"
3220CELLPADDING="4"
3221CLASS="CALSTABLE"
3222><TBODY
3223><TR
3224><TD
3225WIDTH="20%"
3226ALIGN="RIGHT"
3227VALIGN="TOP"
3228><TT
3229CLASS="PARAMETER"
3230><I
3231>reader</I
3232></TT
3233>&nbsp;:</TD
3234><TD
3235WIDTH="80%"
3236ALIGN="LEFT"
3237VALIGN="TOP"
3238> the xmlTextReaderPtr used</TD
3239></TR
3240><TR
3241><TD
3242WIDTH="20%"
3243ALIGN="RIGHT"
3244VALIGN="TOP"
3245><TT
3246CLASS="PARAMETER"
3247><I
3248>localName</I
3249></TT
3250>&nbsp;:</TD
3251><TD
3252WIDTH="80%"
3253ALIGN="LEFT"
3254VALIGN="TOP"
3255> the local name of the attribute.</TD
3256></TR
3257><TR
3258><TD
3259WIDTH="20%"
3260ALIGN="RIGHT"
3261VALIGN="TOP"
3262><TT
3263CLASS="PARAMETER"
3264><I
3265>namespaceURI</I
3266></TT
3267>&nbsp;:</TD
3268><TD
3269WIDTH="80%"
3270ALIGN="LEFT"
3271VALIGN="TOP"
3272> the namespace URI of the attribute.</TD
3273></TR
3274><TR
3275><TD
3276WIDTH="20%"
3277ALIGN="RIGHT"
3278VALIGN="TOP"
3279><SPAN
3280CLASS="emphasis"
3281><I
3282CLASS="EMPHASIS"
3283>Returns</I
3284></SPAN
3285> :</TD
3286><TD
3287WIDTH="80%"
3288ALIGN="LEFT"
3289VALIGN="TOP"
3290>a string containing the value of the specified attribute, or NULL
3291 in case of error. The string must be deallocated by the caller.</TD
3292></TR
3293></TBODY
3294></TABLE
3295><P
3296></P
3297></DIV
3298></DIV
3299><HR><DIV
3300CLASS="REFSECT2"
3301><A
3302NAME="AEN3680"
3303></A
3304><H3
3305><A
3306NAME="XMLTEXTREADERGETREMAINDER"
3307></A
3308>xmlTextReaderGetRemainder ()</H3
3309><TABLE
3310BORDER="0"
3311BGCOLOR="#D6E8FF"
3312WIDTH="100%"
3313CELLPADDING="6"
3314><TR
3315><TD
3316><PRE
3317CLASS="PROGRAMLISTING"
3318><A
3319HREF="libxml-tree.html#XMLPARSERINPUTBUFFERPTR"
3320>xmlParserInputBufferPtr</A
3321> xmlTextReaderGetRemainder
3322 (<A
3323HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3324>xmlTextReaderPtr</A
3325> reader);</PRE
3326></TD
3327></TR
3328></TABLE
3329><P
3330>Method to get the remainder of the buffered XML. this method stops the
3331parser, set its state to End Of File and return the input stream with
3332what is left that the parser did not use.</P
3333><P
3334></P
3335><DIV
3336CLASS="INFORMALTABLE"
3337><A
3338NAME="AEN3688"
3339></A
3340><P
3341></P
3342><TABLE
3343BORDER="0"
3344WIDTH="100%"
3345BGCOLOR="#FFD0D0"
3346CELLSPACING="0"
3347CELLPADDING="4"
3348CLASS="CALSTABLE"
3349><TBODY
3350><TR
3351><TD
3352WIDTH="20%"
3353ALIGN="RIGHT"
3354VALIGN="TOP"
3355><TT
3356CLASS="PARAMETER"
3357><I
3358>reader</I
3359></TT
3360>&nbsp;:</TD
3361><TD
3362WIDTH="80%"
3363ALIGN="LEFT"
3364VALIGN="TOP"
3365> the xmlTextReaderPtr used</TD
3366></TR
3367><TR
3368><TD
3369WIDTH="20%"
3370ALIGN="RIGHT"
3371VALIGN="TOP"
3372><SPAN
3373CLASS="emphasis"
3374><I
3375CLASS="EMPHASIS"
3376>Returns</I
3377></SPAN
3378> :</TD
3379><TD
3380WIDTH="80%"
3381ALIGN="LEFT"
3382VALIGN="TOP"
3383>the xmlParserInputBufferPtr attached to the XML or NULL
3384 in case of error.</TD
3385></TR
3386></TBODY
3387></TABLE
3388><P
3389></P
3390></DIV
3391></DIV
3392><HR><DIV
3393CLASS="REFSECT2"
3394><A
3395NAME="AEN3701"
3396></A
3397><H3
3398><A
3399NAME="XMLTEXTREADERLOOKUPNAMESPACE"
3400></A
3401>xmlTextReaderLookupNamespace ()</H3
3402><TABLE
3403BORDER="0"
3404BGCOLOR="#D6E8FF"
3405WIDTH="100%"
3406CELLPADDING="6"
3407><TR
3408><TD
3409><PRE
3410CLASS="PROGRAMLISTING"
3411><A
3412HREF="libxml-tree.html#XMLCHAR"
3413>xmlChar</A
3414>* xmlTextReaderLookupNamespace (<A
3415HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3416>xmlTextReaderPtr</A
3417> reader,
3418 const <A
3419HREF="libxml-tree.html#XMLCHAR"
3420>xmlChar</A
3421> *prefix);</PRE
3422></TD
3423></TR
3424></TABLE
3425><P
3426>Resolves a namespace prefix in the scope of the current element.</P
3427><P
3428></P
3429><DIV
3430CLASS="INFORMALTABLE"
3431><A
3432NAME="AEN3710"
3433></A
3434><P
3435></P
3436><TABLE
3437BORDER="0"
3438WIDTH="100%"
3439BGCOLOR="#FFD0D0"
3440CELLSPACING="0"
3441CELLPADDING="4"
3442CLASS="CALSTABLE"
3443><TBODY
3444><TR
3445><TD
3446WIDTH="20%"
3447ALIGN="RIGHT"
3448VALIGN="TOP"
3449><TT
3450CLASS="PARAMETER"
3451><I
3452>reader</I
3453></TT
3454>&nbsp;:</TD
3455><TD
3456WIDTH="80%"
3457ALIGN="LEFT"
3458VALIGN="TOP"
3459> the xmlTextReaderPtr used</TD
3460></TR
3461><TR
3462><TD
3463WIDTH="20%"
3464ALIGN="RIGHT"
3465VALIGN="TOP"
3466><TT
3467CLASS="PARAMETER"
3468><I
3469>prefix</I
3470></TT
3471>&nbsp;:</TD
3472><TD
3473WIDTH="80%"
3474ALIGN="LEFT"
3475VALIGN="TOP"
3476> the prefix whose namespace URI is to be resolved. To return
3477 the default namespace, specify NULL</TD
3478></TR
3479><TR
3480><TD
3481WIDTH="20%"
3482ALIGN="RIGHT"
3483VALIGN="TOP"
3484><SPAN
3485CLASS="emphasis"
3486><I
3487CLASS="EMPHASIS"
3488>Returns</I
3489></SPAN
3490> :</TD
3491><TD
3492WIDTH="80%"
3493ALIGN="LEFT"
3494VALIGN="TOP"
3495>a string containing the namespace URI to which the prefix maps
3496 or NULL in case of error. The string must be deallocated by the caller.</TD
3497></TR
3498></TBODY
3499></TABLE
3500><P
3501></P
3502></DIV
3503></DIV
3504><HR><DIV
3505CLASS="REFSECT2"
3506><A
3507NAME="AEN3727"
3508></A
3509><H3
3510><A
3511NAME="XMLTEXTREADERMOVETOATTRIBUTENO"
3512></A
3513>xmlTextReaderMoveToAttributeNo ()</H3
3514><TABLE
3515BORDER="0"
3516BGCOLOR="#D6E8FF"
3517WIDTH="100%"
3518CELLPADDING="6"
3519><TR
3520><TD
3521><PRE
3522CLASS="PROGRAMLISTING"
3523>int xmlTextReaderMoveToAttributeNo (<A
3524HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3525>xmlTextReaderPtr</A
3526> reader,
3527 int no);</PRE
3528></TD
3529></TR
3530></TABLE
3531><P
3532>Moves the position of the current instance to the attribute with
3533the specified index relative to the containing element.</P
3534><P
3535></P
3536><DIV
3537CLASS="INFORMALTABLE"
3538><A
3539NAME="AEN3734"
3540></A
3541><P
3542></P
3543><TABLE
3544BORDER="0"
3545WIDTH="100%"
3546BGCOLOR="#FFD0D0"
3547CELLSPACING="0"
3548CELLPADDING="4"
3549CLASS="CALSTABLE"
3550><TBODY
3551><TR
3552><TD
3553WIDTH="20%"
3554ALIGN="RIGHT"
3555VALIGN="TOP"
3556><TT
3557CLASS="PARAMETER"
3558><I
3559>reader</I
3560></TT
3561>&nbsp;:</TD
3562><TD
3563WIDTH="80%"
3564ALIGN="LEFT"
3565VALIGN="TOP"
3566> the xmlTextReaderPtr used</TD
3567></TR
3568><TR
3569><TD
3570WIDTH="20%"
3571ALIGN="RIGHT"
3572VALIGN="TOP"
3573><TT
3574CLASS="PARAMETER"
3575><I
3576>no</I
3577></TT
3578>&nbsp;:</TD
3579><TD
3580WIDTH="80%"
3581ALIGN="LEFT"
3582VALIGN="TOP"
3583> the zero-based index of the attribute relative to the containing
3584 element.</TD
3585></TR
3586><TR
3587><TD
3588WIDTH="20%"
3589ALIGN="RIGHT"
3590VALIGN="TOP"
3591><SPAN
3592CLASS="emphasis"
3593><I
3594CLASS="EMPHASIS"
3595>Returns</I
3596></SPAN
3597> :</TD
3598><TD
3599WIDTH="80%"
3600ALIGN="LEFT"
3601VALIGN="TOP"
3602>1 in case of success, -1 in case of error, 0 if not found</TD
3603></TR
3604></TBODY
3605></TABLE
3606><P
3607></P
3608></DIV
3609></DIV
3610><HR><DIV
3611CLASS="REFSECT2"
3612><A
3613NAME="AEN3751"
3614></A
3615><H3
3616><A
3617NAME="XMLTEXTREADERMOVETOATTRIBUTE"
3618></A
3619>xmlTextReaderMoveToAttribute ()</H3
3620><TABLE
3621BORDER="0"
3622BGCOLOR="#D6E8FF"
3623WIDTH="100%"
3624CELLPADDING="6"
3625><TR
3626><TD
3627><PRE
3628CLASS="PROGRAMLISTING"
3629>int xmlTextReaderMoveToAttribute (<A
3630HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3631>xmlTextReaderPtr</A
3632> reader,
3633 const <A
3634HREF="libxml-tree.html#XMLCHAR"
3635>xmlChar</A
3636> *name);</PRE
3637></TD
3638></TR
3639></TABLE
3640><P
3641>Moves the position of the current instance to the attribute with
3642the specified qualified name.</P
3643><P
3644></P
3645><DIV
3646CLASS="INFORMALTABLE"
3647><A
3648NAME="AEN3759"
3649></A
3650><P
3651></P
3652><TABLE
3653BORDER="0"
3654WIDTH="100%"
3655BGCOLOR="#FFD0D0"
3656CELLSPACING="0"
3657CELLPADDING="4"
3658CLASS="CALSTABLE"
3659><TBODY
3660><TR
3661><TD
3662WIDTH="20%"
3663ALIGN="RIGHT"
3664VALIGN="TOP"
3665><TT
3666CLASS="PARAMETER"
3667><I
3668>reader</I
3669></TT
3670>&nbsp;:</TD
3671><TD
3672WIDTH="80%"
3673ALIGN="LEFT"
3674VALIGN="TOP"
3675> the xmlTextReaderPtr used</TD
3676></TR
3677><TR
3678><TD
3679WIDTH="20%"
3680ALIGN="RIGHT"
3681VALIGN="TOP"
3682><TT
3683CLASS="PARAMETER"
3684><I
3685>name</I
3686></TT
3687>&nbsp;:</TD
3688><TD
3689WIDTH="80%"
3690ALIGN="LEFT"
3691VALIGN="TOP"
3692> the qualified name of the attribute.</TD
3693></TR
3694><TR
3695><TD
3696WIDTH="20%"
3697ALIGN="RIGHT"
3698VALIGN="TOP"
3699><SPAN
3700CLASS="emphasis"
3701><I
3702CLASS="EMPHASIS"
3703>Returns</I
3704></SPAN
3705> :</TD
3706><TD
3707WIDTH="80%"
3708ALIGN="LEFT"
3709VALIGN="TOP"
3710>1 in case of success, -1 in case of error, 0 if not found</TD
3711></TR
3712></TBODY
3713></TABLE
3714><P
3715></P
3716></DIV
3717></DIV
3718><HR><DIV
3719CLASS="REFSECT2"
3720><A
3721NAME="AEN3776"
3722></A
3723><H3
3724><A
3725NAME="XMLTEXTREADERMOVETOATTRIBUTENS"
3726></A
3727>xmlTextReaderMoveToAttributeNs ()</H3
3728><TABLE
3729BORDER="0"
3730BGCOLOR="#D6E8FF"
3731WIDTH="100%"
3732CELLPADDING="6"
3733><TR
3734><TD
3735><PRE
3736CLASS="PROGRAMLISTING"
3737>int xmlTextReaderMoveToAttributeNs (<A
3738HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3739>xmlTextReaderPtr</A
3740> reader,
3741 const <A
3742HREF="libxml-tree.html#XMLCHAR"
3743>xmlChar</A
3744> *localName,
3745 const <A
3746HREF="libxml-tree.html#XMLCHAR"
3747>xmlChar</A
3748> *namespaceURI);</PRE
3749></TD
3750></TR
3751></TABLE
3752><P
3753>Moves the position of the current instance to the attribute with the
3754specified local name and namespace URI.</P
3755><P
3756></P
3757><DIV
3758CLASS="INFORMALTABLE"
3759><A
3760NAME="AEN3785"
3761></A
3762><P
3763></P
3764><TABLE
3765BORDER="0"
3766WIDTH="100%"
3767BGCOLOR="#FFD0D0"
3768CELLSPACING="0"
3769CELLPADDING="4"
3770CLASS="CALSTABLE"
3771><TBODY
3772><TR
3773><TD
3774WIDTH="20%"
3775ALIGN="RIGHT"
3776VALIGN="TOP"
3777><TT
3778CLASS="PARAMETER"
3779><I
3780>reader</I
3781></TT
3782>&nbsp;:</TD
3783><TD
3784WIDTH="80%"
3785ALIGN="LEFT"
3786VALIGN="TOP"
3787> the xmlTextReaderPtr used</TD
3788></TR
3789><TR
3790><TD
3791WIDTH="20%"
3792ALIGN="RIGHT"
3793VALIGN="TOP"
3794><TT
3795CLASS="PARAMETER"
3796><I
3797>localName</I
3798></TT
3799>&nbsp;:</TD
3800><TD
3801WIDTH="80%"
3802ALIGN="LEFT"
3803VALIGN="TOP"
3804> the local name of the attribute.</TD
3805></TR
3806><TR
3807><TD
3808WIDTH="20%"
3809ALIGN="RIGHT"
3810VALIGN="TOP"
3811><TT
3812CLASS="PARAMETER"
3813><I
3814>namespaceURI</I
3815></TT
3816>&nbsp;:</TD
3817><TD
3818WIDTH="80%"
3819ALIGN="LEFT"
3820VALIGN="TOP"
3821> the namespace URI of the attribute.</TD
3822></TR
3823><TR
3824><TD
3825WIDTH="20%"
3826ALIGN="RIGHT"
3827VALIGN="TOP"
3828><SPAN
3829CLASS="emphasis"
3830><I
3831CLASS="EMPHASIS"
3832>Returns</I
3833></SPAN
3834> :</TD
3835><TD
3836WIDTH="80%"
3837ALIGN="LEFT"
3838VALIGN="TOP"
3839>1 in case of success, -1 in case of error, 0 if not found</TD
3840></TR
3841></TBODY
3842></TABLE
3843><P
3844></P
3845></DIV
3846></DIV
3847><HR><DIV
3848CLASS="REFSECT2"
3849><A
3850NAME="AEN3806"
3851></A
3852><H3
3853><A
3854NAME="XMLTEXTREADERMOVETOFIRSTATTRIBUTE"
3855></A
3856>xmlTextReaderMoveToFirstAttribute ()</H3
3857><TABLE
3858BORDER="0"
3859BGCOLOR="#D6E8FF"
3860WIDTH="100%"
3861CELLPADDING="6"
3862><TR
3863><TD
3864><PRE
3865CLASS="PROGRAMLISTING"
3866>int xmlTextReaderMoveToFirstAttribute
3867 (<A
3868HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3869>xmlTextReaderPtr</A
3870> reader);</PRE
3871></TD
3872></TR
3873></TABLE
3874><P
3875>Moves the position of the current instance to the first attribute
3876associated with the current node.</P
3877><P
3878></P
3879><DIV
3880CLASS="INFORMALTABLE"
3881><A
3882NAME="AEN3813"
3883></A
3884><P
3885></P
3886><TABLE
3887BORDER="0"
3888WIDTH="100%"
3889BGCOLOR="#FFD0D0"
3890CELLSPACING="0"
3891CELLPADDING="4"
3892CLASS="CALSTABLE"
3893><TBODY
3894><TR
3895><TD
3896WIDTH="20%"
3897ALIGN="RIGHT"
3898VALIGN="TOP"
3899><TT
3900CLASS="PARAMETER"
3901><I
3902>reader</I
3903></TT
3904>&nbsp;:</TD
3905><TD
3906WIDTH="80%"
3907ALIGN="LEFT"
3908VALIGN="TOP"
3909> the xmlTextReaderPtr used</TD
3910></TR
3911><TR
3912><TD
3913WIDTH="20%"
3914ALIGN="RIGHT"
3915VALIGN="TOP"
3916><SPAN
3917CLASS="emphasis"
3918><I
3919CLASS="EMPHASIS"
3920>Returns</I
3921></SPAN
3922> :</TD
3923><TD
3924WIDTH="80%"
3925ALIGN="LEFT"
3926VALIGN="TOP"
3927>1 in case of success, -1 in case of error, 0 if not found</TD
3928></TR
3929></TBODY
3930></TABLE
3931><P
3932></P
3933></DIV
3934></DIV
3935><HR><DIV
3936CLASS="REFSECT2"
3937><A
3938NAME="AEN3826"
3939></A
3940><H3
3941><A
3942NAME="XMLTEXTREADERMOVETONEXTATTRIBUTE"
3943></A
3944>xmlTextReaderMoveToNextAttribute ()</H3
3945><TABLE
3946BORDER="0"
3947BGCOLOR="#D6E8FF"
3948WIDTH="100%"
3949CELLPADDING="6"
3950><TR
3951><TD
3952><PRE
3953CLASS="PROGRAMLISTING"
3954>int xmlTextReaderMoveToNextAttribute
3955 (<A
3956HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
3957>xmlTextReaderPtr</A
3958> reader);</PRE
3959></TD
3960></TR
3961></TABLE
3962><P
3963>Moves the position of the current instance to the next attribute
3964associated with the current node.</P
3965><P
3966></P
3967><DIV
3968CLASS="INFORMALTABLE"
3969><A
3970NAME="AEN3833"
3971></A
3972><P
3973></P
3974><TABLE
3975BORDER="0"
3976WIDTH="100%"
3977BGCOLOR="#FFD0D0"
3978CELLSPACING="0"
3979CELLPADDING="4"
3980CLASS="CALSTABLE"
3981><TBODY
3982><TR
3983><TD
3984WIDTH="20%"
3985ALIGN="RIGHT"
3986VALIGN="TOP"
3987><TT
3988CLASS="PARAMETER"
3989><I
3990>reader</I
3991></TT
3992>&nbsp;:</TD
3993><TD
3994WIDTH="80%"
3995ALIGN="LEFT"
3996VALIGN="TOP"
3997> the xmlTextReaderPtr used</TD
3998></TR
3999><TR
4000><TD
4001WIDTH="20%"
4002ALIGN="RIGHT"
4003VALIGN="TOP"
4004><SPAN
4005CLASS="emphasis"
4006><I
4007CLASS="EMPHASIS"
4008>Returns</I
4009></SPAN
4010> :</TD
4011><TD
4012WIDTH="80%"
4013ALIGN="LEFT"
4014VALIGN="TOP"
4015>1 in case of success, -1 in case of error, 0 if not found</TD
4016></TR
4017></TBODY
4018></TABLE
4019><P
4020></P
4021></DIV
4022></DIV
4023><HR><DIV
4024CLASS="REFSECT2"
4025><A
4026NAME="AEN3846"
4027></A
4028><H3
4029><A
4030NAME="XMLTEXTREADERMOVETOELEMENT"
4031></A
4032>xmlTextReaderMoveToElement ()</H3
4033><TABLE
4034BORDER="0"
4035BGCOLOR="#D6E8FF"
4036WIDTH="100%"
4037CELLPADDING="6"
4038><TR
4039><TD
4040><PRE
4041CLASS="PROGRAMLISTING"
4042>int xmlTextReaderMoveToElement (<A
4043HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4044>xmlTextReaderPtr</A
4045> reader);</PRE
4046></TD
4047></TR
4048></TABLE
4049><P
4050>Moves the position of the current instance to the node that
4051contains the current Attribute node.</P
4052><P
4053></P
4054><DIV
4055CLASS="INFORMALTABLE"
4056><A
4057NAME="AEN3853"
4058></A
4059><P
4060></P
4061><TABLE
4062BORDER="0"
4063WIDTH="100%"
4064BGCOLOR="#FFD0D0"
4065CELLSPACING="0"
4066CELLPADDING="4"
4067CLASS="CALSTABLE"
4068><TBODY
4069><TR
4070><TD
4071WIDTH="20%"
4072ALIGN="RIGHT"
4073VALIGN="TOP"
4074><TT
4075CLASS="PARAMETER"
4076><I
4077>reader</I
4078></TT
4079>&nbsp;:</TD
4080><TD
4081WIDTH="80%"
4082ALIGN="LEFT"
4083VALIGN="TOP"
4084> the xmlTextReaderPtr used</TD
4085></TR
4086><TR
4087><TD
4088WIDTH="20%"
4089ALIGN="RIGHT"
4090VALIGN="TOP"
4091><SPAN
4092CLASS="emphasis"
4093><I
4094CLASS="EMPHASIS"
4095>Returns</I
4096></SPAN
4097> :</TD
4098><TD
4099WIDTH="80%"
4100ALIGN="LEFT"
4101VALIGN="TOP"
4102>1 in case of success, -1 in case of error, 0 if not moved</TD
4103></TR
4104></TBODY
4105></TABLE
4106><P
4107></P
4108></DIV
4109></DIV
4110><HR><DIV
4111CLASS="REFSECT2"
4112><A
4113NAME="AEN3866"
4114></A
4115><H3
4116><A
4117NAME="XMLTEXTREADERNORMALIZATION"
4118></A
4119>xmlTextReaderNormalization ()</H3
4120><TABLE
4121BORDER="0"
4122BGCOLOR="#D6E8FF"
4123WIDTH="100%"
4124CELLPADDING="6"
4125><TR
4126><TD
4127><PRE
4128CLASS="PROGRAMLISTING"
4129>int xmlTextReaderNormalization (<A
4130HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4131>xmlTextReaderPtr</A
4132> reader);</PRE
4133></TD
4134></TR
4135></TABLE
4136><P
4137>The value indicating whether to normalize white space and attribute values.
4138Since attribute value and end of line normalizations are a MUST in the XML
4139specification only the value true is accepted. The broken bahaviour of
4140accepting out of range character entities like &amp;<GTKDOCLINK
4141HREF="0-CAPS"
4142>0</GTKDOCLINK
4143>; is of course not
4144supported either.</P
4145><P
4146></P
4147><DIV
4148CLASS="INFORMALTABLE"
4149><A
4150NAME="AEN3874"
4151></A
4152><P
4153></P
4154><TABLE
4155BORDER="0"
4156WIDTH="100%"
4157BGCOLOR="#FFD0D0"
4158CELLSPACING="0"
4159CELLPADDING="4"
4160CLASS="CALSTABLE"
4161><TBODY
4162><TR
4163><TD
4164WIDTH="20%"
4165ALIGN="RIGHT"
4166VALIGN="TOP"
4167><TT
4168CLASS="PARAMETER"
4169><I
4170>reader</I
4171></TT
4172>&nbsp;:</TD
4173><TD
4174WIDTH="80%"
4175ALIGN="LEFT"
4176VALIGN="TOP"
4177> the xmlTextReaderPtr used</TD
4178></TR
4179><TR
4180><TD
4181WIDTH="20%"
4182ALIGN="RIGHT"
4183VALIGN="TOP"
4184><SPAN
4185CLASS="emphasis"
4186><I
4187CLASS="EMPHASIS"
4188>Returns</I
4189></SPAN
4190> :</TD
4191><TD
4192WIDTH="80%"
4193ALIGN="LEFT"
4194VALIGN="TOP"
4195>1 or -1 in case of error.</TD
4196></TR
4197></TBODY
4198></TABLE
4199><P
4200></P
4201></DIV
4202></DIV
4203><HR><DIV
4204CLASS="REFSECT2"
4205><A
4206NAME="AEN3887"
4207></A
4208><H3
4209><A
4210NAME="XMLTEXTREADERSETPARSERPROP"
4211></A
4212>xmlTextReaderSetParserProp ()</H3
4213><TABLE
4214BORDER="0"
4215BGCOLOR="#D6E8FF"
4216WIDTH="100%"
4217CELLPADDING="6"
4218><TR
4219><TD
4220><PRE
4221CLASS="PROGRAMLISTING"
4222>int xmlTextReaderSetParserProp (<A
4223HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4224>xmlTextReaderPtr</A
4225> reader,
4226 int prop,
4227 int value);</PRE
4228></TD
4229></TR
4230></TABLE
4231><P
4232>Change the parser processing behaviour by changing some of its internal
4233properties. Note that some properties can only be changed before any
4234read has been done.</P
4235><P
4236></P
4237><DIV
4238CLASS="INFORMALTABLE"
4239><A
4240NAME="AEN3894"
4241></A
4242><P
4243></P
4244><TABLE
4245BORDER="0"
4246WIDTH="100%"
4247BGCOLOR="#FFD0D0"
4248CELLSPACING="0"
4249CELLPADDING="4"
4250CLASS="CALSTABLE"
4251><TBODY
4252><TR
4253><TD
4254WIDTH="20%"
4255ALIGN="RIGHT"
4256VALIGN="TOP"
4257><TT
4258CLASS="PARAMETER"
4259><I
4260>reader</I
4261></TT
4262>&nbsp;:</TD
4263><TD
4264WIDTH="80%"
4265ALIGN="LEFT"
4266VALIGN="TOP"
4267> the xmlTextReaderPtr used</TD
4268></TR
4269><TR
4270><TD
4271WIDTH="20%"
4272ALIGN="RIGHT"
4273VALIGN="TOP"
4274><TT
4275CLASS="PARAMETER"
4276><I
4277>prop</I
4278></TT
4279>&nbsp;:</TD
4280><TD
4281WIDTH="80%"
4282ALIGN="LEFT"
4283VALIGN="TOP"
4284> the xmlParserProperties to set</TD
4285></TR
4286><TR
4287><TD
4288WIDTH="20%"
4289ALIGN="RIGHT"
4290VALIGN="TOP"
4291><TT
4292CLASS="PARAMETER"
4293><I
4294>value</I
4295></TT
4296>&nbsp;:</TD
4297><TD
4298WIDTH="80%"
4299ALIGN="LEFT"
4300VALIGN="TOP"
4301> usually 0 or 1 to (de)activate it</TD
4302></TR
4303><TR
4304><TD
4305WIDTH="20%"
4306ALIGN="RIGHT"
4307VALIGN="TOP"
4308><SPAN
4309CLASS="emphasis"
4310><I
4311CLASS="EMPHASIS"
4312>Returns</I
4313></SPAN
4314> :</TD
4315><TD
4316WIDTH="80%"
4317ALIGN="LEFT"
4318VALIGN="TOP"
4319>0 if the call was successful, or -1 in case of error</TD
4320></TR
4321></TBODY
4322></TABLE
4323><P
4324></P
4325></DIV
4326></DIV
4327><HR><DIV
4328CLASS="REFSECT2"
4329><A
4330NAME="AEN3915"
4331></A
4332><H3
4333><A
4334NAME="XMLTEXTREADERGETPARSERPROP"
4335></A
4336>xmlTextReaderGetParserProp ()</H3
4337><TABLE
4338BORDER="0"
4339BGCOLOR="#D6E8FF"
4340WIDTH="100%"
4341CELLPADDING="6"
4342><TR
4343><TD
4344><PRE
4345CLASS="PROGRAMLISTING"
4346>int xmlTextReaderGetParserProp (<A
4347HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4348>xmlTextReaderPtr</A
4349> reader,
4350 int prop);</PRE
4351></TD
4352></TR
4353></TABLE
4354><P
4355>Read the parser internal property.</P
4356><P
4357></P
4358><DIV
4359CLASS="INFORMALTABLE"
4360><A
4361NAME="AEN3922"
4362></A
4363><P
4364></P
4365><TABLE
4366BORDER="0"
4367WIDTH="100%"
4368BGCOLOR="#FFD0D0"
4369CELLSPACING="0"
4370CELLPADDING="4"
4371CLASS="CALSTABLE"
4372><TBODY
4373><TR
4374><TD
4375WIDTH="20%"
4376ALIGN="RIGHT"
4377VALIGN="TOP"
4378><TT
4379CLASS="PARAMETER"
4380><I
4381>reader</I
4382></TT
4383>&nbsp;:</TD
4384><TD
4385WIDTH="80%"
4386ALIGN="LEFT"
4387VALIGN="TOP"
4388> the xmlTextReaderPtr used</TD
4389></TR
4390><TR
4391><TD
4392WIDTH="20%"
4393ALIGN="RIGHT"
4394VALIGN="TOP"
4395><TT
4396CLASS="PARAMETER"
4397><I
4398>prop</I
4399></TT
4400>&nbsp;:</TD
4401><TD
4402WIDTH="80%"
4403ALIGN="LEFT"
4404VALIGN="TOP"
4405> the xmlParserProperties to get</TD
4406></TR
4407><TR
4408><TD
4409WIDTH="20%"
4410ALIGN="RIGHT"
4411VALIGN="TOP"
4412><SPAN
4413CLASS="emphasis"
4414><I
4415CLASS="EMPHASIS"
4416>Returns</I
4417></SPAN
4418> :</TD
4419><TD
4420WIDTH="80%"
4421ALIGN="LEFT"
4422VALIGN="TOP"
4423>the value, usually 0 or 1, or -1 in case of error.</TD
4424></TR
4425></TBODY
4426></TABLE
4427><P
4428></P
4429></DIV
4430></DIV
4431><HR><DIV
4432CLASS="REFSECT2"
4433><A
4434NAME="AEN3939"
4435></A
4436><H3
4437><A
4438NAME="XMLTEXTREADERCURRENTNODE"
4439></A
4440>xmlTextReaderCurrentNode ()</H3
4441><TABLE
4442BORDER="0"
4443BGCOLOR="#D6E8FF"
4444WIDTH="100%"
4445CELLPADDING="6"
4446><TR
4447><TD
4448><PRE
4449CLASS="PROGRAMLISTING"
4450><A
4451HREF="libxml-tree.html#XMLNODEPTR"
4452>xmlNodePtr</A
4453> xmlTextReaderCurrentNode (<A
4454HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4455>xmlTextReaderPtr</A
4456> reader);</PRE
4457></TD
4458></TR
4459></TABLE
4460><P
4461>Hacking interface allowing to get the xmlNodePtr correponding to the
4462current node being accessed by the xmlTextReader. This is dangerous
4463because the underlying node may be destroyed on the next Reads.</P
4464><P
4465></P
4466><DIV
4467CLASS="INFORMALTABLE"
4468><A
4469NAME="AEN3947"
4470></A
4471><P
4472></P
4473><TABLE
4474BORDER="0"
4475WIDTH="100%"
4476BGCOLOR="#FFD0D0"
4477CELLSPACING="0"
4478CELLPADDING="4"
4479CLASS="CALSTABLE"
4480><TBODY
4481><TR
4482><TD
4483WIDTH="20%"
4484ALIGN="RIGHT"
4485VALIGN="TOP"
4486><TT
4487CLASS="PARAMETER"
4488><I
4489>reader</I
4490></TT
4491>&nbsp;:</TD
4492><TD
4493WIDTH="80%"
4494ALIGN="LEFT"
4495VALIGN="TOP"
4496> the xmlTextReaderPtr used</TD
4497></TR
4498><TR
4499><TD
4500WIDTH="20%"
4501ALIGN="RIGHT"
4502VALIGN="TOP"
4503><SPAN
4504CLASS="emphasis"
4505><I
4506CLASS="EMPHASIS"
4507>Returns</I
4508></SPAN
4509> :</TD
4510><TD
4511WIDTH="80%"
4512ALIGN="LEFT"
4513VALIGN="TOP"
4514>the xmlNodePtr or NULL in case of error.</TD
4515></TR
4516></TBODY
4517></TABLE
4518><P
4519></P
4520></DIV
4521></DIV
4522><HR><DIV
4523CLASS="REFSECT2"
4524><A
4525NAME="AEN3960"
4526></A
4527><H3
4528><A
4529NAME="XMLTEXTREADERCURRENTDOC"
4530></A
4531>xmlTextReaderCurrentDoc ()</H3
4532><TABLE
4533BORDER="0"
4534BGCOLOR="#D6E8FF"
4535WIDTH="100%"
4536CELLPADDING="6"
4537><TR
4538><TD
4539><PRE
4540CLASS="PROGRAMLISTING"
4541><A
4542HREF="libxml-tree.html#XMLDOCPTR"
4543>xmlDocPtr</A
4544> xmlTextReaderCurrentDoc (<A
4545HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4546>xmlTextReaderPtr</A
4547> reader);</PRE
4548></TD
4549></TR
4550></TABLE
4551><P
4552>Hacking interface allowing to get the xmlDocPtr correponding to the
4553current document being accessed by the xmlTextReader. This is dangerous
4554because the associated node may be destroyed on the next Reads.</P
4555><P
4556></P
4557><DIV
4558CLASS="INFORMALTABLE"
4559><A
4560NAME="AEN3968"
4561></A
4562><P
4563></P
4564><TABLE
4565BORDER="0"
4566WIDTH="100%"
4567BGCOLOR="#FFD0D0"
4568CELLSPACING="0"
4569CELLPADDING="4"
4570CLASS="CALSTABLE"
4571><TBODY
4572><TR
4573><TD
4574WIDTH="20%"
4575ALIGN="RIGHT"
4576VALIGN="TOP"
4577><TT
4578CLASS="PARAMETER"
4579><I
4580>reader</I
4581></TT
4582>&nbsp;:</TD
4583><TD
4584WIDTH="80%"
4585ALIGN="LEFT"
4586VALIGN="TOP"
4587> the xmlTextReaderPtr used</TD
4588></TR
4589><TR
4590><TD
4591WIDTH="20%"
4592ALIGN="RIGHT"
4593VALIGN="TOP"
4594><SPAN
4595CLASS="emphasis"
4596><I
4597CLASS="EMPHASIS"
4598>Returns</I
4599></SPAN
4600> :</TD
4601><TD
4602WIDTH="80%"
4603ALIGN="LEFT"
4604VALIGN="TOP"
4605>the xmlDocPtr or NULL in case of error.</TD
4606></TR
4607></TBODY
4608></TABLE
4609><P
4610></P
4611></DIV
4612></DIV
4613><HR><DIV
4614CLASS="REFSECT2"
4615><A
4616NAME="AEN3981"
4617></A
4618><H3
4619><A
4620NAME="XMLTEXTREADERLOCATORPTR"
4621></A
4622>xmlTextReaderLocatorPtr</H3
4623><TABLE
4624BORDER="0"
4625BGCOLOR="#D6E8FF"
4626WIDTH="100%"
4627CELLPADDING="6"
4628><TR
4629><TD
4630><PRE
4631CLASS="PROGRAMLISTING"
4632>typedef void * xmlTextReaderLocatorPtr;</PRE
4633></TD
4634></TR
4635></TABLE
4636><P
4637></P
4638></DIV
4639><HR><DIV
4640CLASS="REFSECT2"
4641><A
4642NAME="AEN3986"
4643></A
4644><H3
4645><A
4646NAME="XMLTEXTREADERERRORFUNC"
4647></A
4648>xmlTextReaderErrorFunc ()</H3
4649><TABLE
4650BORDER="0"
4651BGCOLOR="#D6E8FF"
4652WIDTH="100%"
4653CELLPADDING="6"
4654><TR
4655><TD
4656><PRE
4657CLASS="PROGRAMLISTING"
4658>void (*xmlTextReaderErrorFunc) (void *arg,
4659 const char *msg,
4660 <A
4661HREF="libxml-xmlreader.html#XMLPARSERSEVERITIES"
4662>xmlParserSeverities</A
4663> severity,
4664 <A
4665HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
4666>xmlTextReaderLocatorPtr</A
4667> locator);</PRE
4668></TD
4669></TR
4670></TABLE
4671><P
4672></P
4673><DIV
4674CLASS="INFORMALTABLE"
4675><A
4676NAME="AEN3993"
4677></A
4678><P
4679></P
4680><TABLE
4681BORDER="0"
4682WIDTH="100%"
4683BGCOLOR="#FFD0D0"
4684CELLSPACING="0"
4685CELLPADDING="4"
4686CLASS="CALSTABLE"
4687><TBODY
4688><TR
4689><TD
4690WIDTH="20%"
4691ALIGN="RIGHT"
4692VALIGN="TOP"
4693><TT
4694CLASS="PARAMETER"
4695><I
4696>arg</I
4697></TT
4698>&nbsp;:</TD
4699><TD
4700WIDTH="80%"
4701ALIGN="LEFT"
4702VALIGN="TOP"
4703>&nbsp;</TD
4704></TR
4705><TR
4706><TD
4707WIDTH="20%"
4708ALIGN="RIGHT"
4709VALIGN="TOP"
4710><TT
4711CLASS="PARAMETER"
4712><I
4713>msg</I
4714></TT
4715>&nbsp;:</TD
4716><TD
4717WIDTH="80%"
4718ALIGN="LEFT"
4719VALIGN="TOP"
4720>&nbsp;</TD
4721></TR
4722><TR
4723><TD
4724WIDTH="20%"
4725ALIGN="RIGHT"
4726VALIGN="TOP"
4727><TT
4728CLASS="PARAMETER"
4729><I
4730>severity</I
4731></TT
4732>&nbsp;:</TD
4733><TD
4734WIDTH="80%"
4735ALIGN="LEFT"
4736VALIGN="TOP"
4737>&nbsp;</TD
4738></TR
4739><TR
4740><TD
4741WIDTH="20%"
4742ALIGN="RIGHT"
4743VALIGN="TOP"
4744><TT
4745CLASS="PARAMETER"
4746><I
4747>locator</I
4748></TT
4749>&nbsp;:</TD
4750><TD
4751WIDTH="80%"
4752ALIGN="LEFT"
4753VALIGN="TOP"
4754>&nbsp;</TD
4755></TR
4756></TBODY
4757></TABLE
4758><P
4759></P
4760></DIV
4761></DIV
4762><HR><DIV
4763CLASS="REFSECT2"
4764><A
4765NAME="AEN4014"
4766></A
4767><H3
4768><A
4769NAME="XMLTEXTREADERLOCATORLINENUMBER"
4770></A
4771>xmlTextReaderLocatorLineNumber ()</H3
4772><TABLE
4773BORDER="0"
4774BGCOLOR="#D6E8FF"
4775WIDTH="100%"
4776CELLPADDING="6"
4777><TR
4778><TD
4779><PRE
4780CLASS="PROGRAMLISTING"
4781>int xmlTextReaderLocatorLineNumber (<A
4782HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
4783>xmlTextReaderLocatorPtr</A
4784> locator);</PRE
4785></TD
4786></TR
4787></TABLE
4788><P
4789>Obtain the line number for the given locator.</P
4790><P
4791></P
4792><DIV
4793CLASS="INFORMALTABLE"
4794><A
4795NAME="AEN4021"
4796></A
4797><P
4798></P
4799><TABLE
4800BORDER="0"
4801WIDTH="100%"
4802BGCOLOR="#FFD0D0"
4803CELLSPACING="0"
4804CELLPADDING="4"
4805CLASS="CALSTABLE"
4806><TBODY
4807><TR
4808><TD
4809WIDTH="20%"
4810ALIGN="RIGHT"
4811VALIGN="TOP"
4812><TT
4813CLASS="PARAMETER"
4814><I
4815>locator</I
4816></TT
4817>&nbsp;:</TD
4818><TD
4819WIDTH="80%"
4820ALIGN="LEFT"
4821VALIGN="TOP"
4822> the xmlTextReaderLocatorPtr used</TD
4823></TR
4824><TR
4825><TD
4826WIDTH="20%"
4827ALIGN="RIGHT"
4828VALIGN="TOP"
4829><SPAN
4830CLASS="emphasis"
4831><I
4832CLASS="EMPHASIS"
4833>Returns</I
4834></SPAN
4835> :</TD
4836><TD
4837WIDTH="80%"
4838ALIGN="LEFT"
4839VALIGN="TOP"
4840>the line number or -1 in case of error.</TD
4841></TR
4842></TBODY
4843></TABLE
4844><P
4845></P
4846></DIV
4847></DIV
4848><HR><DIV
4849CLASS="REFSECT2"
4850><A
4851NAME="AEN4034"
4852></A
4853><H3
4854><A
4855NAME="XMLTEXTREADERLOCATORBASEURI"
4856></A
4857>xmlTextReaderLocatorBaseURI ()</H3
4858><TABLE
4859BORDER="0"
4860BGCOLOR="#D6E8FF"
4861WIDTH="100%"
4862CELLPADDING="6"
4863><TR
4864><TD
4865><PRE
4866CLASS="PROGRAMLISTING"
4867><A
4868HREF="libxml-tree.html#XMLCHAR"
4869>xmlChar</A
4870>* xmlTextReaderLocatorBaseURI (<A
4871HREF="libxml-xmlreader.html#XMLTEXTREADERLOCATORPTR"
4872>xmlTextReaderLocatorPtr</A
4873> locator);</PRE
4874></TD
4875></TR
4876></TABLE
4877><P
4878>Obtain the base URI for the given locator.</P
4879><P
4880></P
4881><DIV
4882CLASS="INFORMALTABLE"
4883><A
4884NAME="AEN4042"
4885></A
4886><P
4887></P
4888><TABLE
4889BORDER="0"
4890WIDTH="100%"
4891BGCOLOR="#FFD0D0"
4892CELLSPACING="0"
4893CELLPADDING="4"
4894CLASS="CALSTABLE"
4895><TBODY
4896><TR
4897><TD
4898WIDTH="20%"
4899ALIGN="RIGHT"
4900VALIGN="TOP"
4901><TT
4902CLASS="PARAMETER"
4903><I
4904>locator</I
4905></TT
4906>&nbsp;:</TD
4907><TD
4908WIDTH="80%"
4909ALIGN="LEFT"
4910VALIGN="TOP"
4911> the xmlTextReaderLocatorPtr used</TD
4912></TR
4913><TR
4914><TD
4915WIDTH="20%"
4916ALIGN="RIGHT"
4917VALIGN="TOP"
4918><SPAN
4919CLASS="emphasis"
4920><I
4921CLASS="EMPHASIS"
4922>Returns</I
4923></SPAN
4924> :</TD
4925><TD
4926WIDTH="80%"
4927ALIGN="LEFT"
4928VALIGN="TOP"
4929>the base URI or NULL in case of error.</TD
4930></TR
4931></TBODY
4932></TABLE
4933><P
4934></P
4935></DIV
4936></DIV
4937><HR><DIV
4938CLASS="REFSECT2"
4939><A
4940NAME="AEN4055"
4941></A
4942><H3
4943><A
4944NAME="XMLTEXTREADERSETERRORHANDLER"
4945></A
4946>xmlTextReaderSetErrorHandler ()</H3
4947><TABLE
4948BORDER="0"
4949BGCOLOR="#D6E8FF"
4950WIDTH="100%"
4951CELLPADDING="6"
4952><TR
4953><TD
4954><PRE
4955CLASS="PROGRAMLISTING"
4956>void xmlTextReaderSetErrorHandler (<A
4957HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
4958>xmlTextReaderPtr</A
4959> reader,
4960 <A
4961HREF="libxml-xmlreader.html#XMLTEXTREADERERRORFUNC"
4962>xmlTextReaderErrorFunc</A
4963> f,
4964 void *arg);</PRE
4965></TD
4966></TR
4967></TABLE
4968><P
4969>Register a callback function that will be called on error and warnings.</P
4970><P
4971>If <TT
4972CLASS="PARAMETER"
4973><I
4974>f</I
4975></TT
4976> is NULL, the default error and warning handlers are restored.</P
4977><P
4978></P
4979><DIV
4980CLASS="INFORMALTABLE"
4981><A
4982NAME="AEN4065"
4983></A
4984><P
4985></P
4986><TABLE
4987BORDER="0"
4988WIDTH="100%"
4989BGCOLOR="#FFD0D0"
4990CELLSPACING="0"
4991CELLPADDING="4"
4992CLASS="CALSTABLE"
4993><TBODY
4994><TR
4995><TD
4996WIDTH="20%"
4997ALIGN="RIGHT"
4998VALIGN="TOP"
4999><TT
5000CLASS="PARAMETER"
5001><I
5002>reader</I
5003></TT
5004>&nbsp;:</TD
5005><TD
5006WIDTH="80%"
5007ALIGN="LEFT"
5008VALIGN="TOP"
5009> the xmlTextReaderPtr used</TD
5010></TR
5011><TR
5012><TD
5013WIDTH="20%"
5014ALIGN="RIGHT"
5015VALIGN="TOP"
5016><TT
5017CLASS="PARAMETER"
5018><I
5019>f</I
5020></TT
5021>&nbsp;:</TD
5022><TD
5023WIDTH="80%"
5024ALIGN="LEFT"
5025VALIGN="TOP"
5026> the callback function to call on error and warnings</TD
5027></TR
5028><TR
5029><TD
5030WIDTH="20%"
5031ALIGN="RIGHT"
5032VALIGN="TOP"
5033><TT
5034CLASS="PARAMETER"
5035><I
5036>arg</I
5037></TT
5038>&nbsp;:</TD
5039><TD
5040WIDTH="80%"
5041ALIGN="LEFT"
5042VALIGN="TOP"
5043> a user argument to pass to the callback function</TD
5044></TR
5045></TBODY
5046></TABLE
5047><P
5048></P
5049></DIV
5050></DIV
5051><HR><DIV
5052CLASS="REFSECT2"
5053><A
5054NAME="AEN4082"
5055></A
5056><H3
5057><A
5058NAME="XMLTEXTREADERGETERRORHANDLER"
5059></A
5060>xmlTextReaderGetErrorHandler ()</H3
5061><TABLE
5062BORDER="0"
5063BGCOLOR="#D6E8FF"
5064WIDTH="100%"
5065CELLPADDING="6"
5066><TR
5067><TD
5068><PRE
5069CLASS="PROGRAMLISTING"
5070>void xmlTextReaderGetErrorHandler (<A
5071HREF="libxml-xmlreader.html#XMLTEXTREADERPTR"
5072>xmlTextReaderPtr</A
5073> reader,
5074 <A
5075HREF="libxml-xmlreader.html#XMLTEXTREADERERRORFUNC"
5076>xmlTextReaderErrorFunc</A
5077> *f,
5078 void **arg);</PRE
5079></TD
5080></TR
5081></TABLE
5082><P
5083>Retrieve the error callback function and user argument.</P
5084><P
5085></P
5086><DIV
5087CLASS="INFORMALTABLE"
5088><A
5089NAME="AEN4090"
5090></A
5091><P
5092></P
5093><TABLE
5094BORDER="0"
5095WIDTH="100%"
5096BGCOLOR="#FFD0D0"
5097CELLSPACING="0"
5098CELLPADDING="4"
5099CLASS="CALSTABLE"
5100><TBODY
5101><TR
5102><TD
5103WIDTH="20%"
5104ALIGN="RIGHT"
5105VALIGN="TOP"
5106><TT
5107CLASS="PARAMETER"
5108><I
5109>reader</I
5110></TT
5111>&nbsp;:</TD
5112><TD
5113WIDTH="80%"
5114ALIGN="LEFT"
5115VALIGN="TOP"
5116> the xmlTextReaderPtr used</TD
5117></TR
5118><TR
5119><TD
5120WIDTH="20%"
5121ALIGN="RIGHT"
5122VALIGN="TOP"
5123><TT
5124CLASS="PARAMETER"
5125><I
5126>f</I
5127></TT
5128>&nbsp;:</TD
5129><TD
5130WIDTH="80%"
5131ALIGN="LEFT"
5132VALIGN="TOP"
5133> the callback function or NULL is no callback has been registered</TD
5134></TR
5135><TR
5136><TD
5137WIDTH="20%"
5138ALIGN="RIGHT"
5139VALIGN="TOP"
5140><TT
5141CLASS="PARAMETER"
5142><I
5143>arg</I
5144></TT
5145>&nbsp;:</TD
5146><TD
5147WIDTH="80%"
5148ALIGN="LEFT"
5149VALIGN="TOP"
5150> a user argument</TD
5151></TR
5152></TBODY
5153></TABLE
5154><P
5155></P
5156></DIV
5157></DIV
5158></DIV
5159><DIV
5160CLASS="NAVFOOTER"
5161><BR
5162CLEAR="all"><BR><TABLE
5163WIDTH="100%"
5164BORDER="0"
5165BGCOLOR="#000000"
5166CELLPADDING="1"
5167CELLSPACING="0"
5168><TR
5169><TD
5170WIDTH="25%"
5171BGCOLOR="#C00000"
5172ALIGN="left"
5173><A
5174HREF="libxml-parser.html"
5175><FONT
5176COLOR="#FFFFFF"
5177SIZE="3"
5178><B
5179>&#60;&#60;&#60; Previous Page</B
5180></FONT
5181></A
5182></TD
5183><TD
5184WIDTH="25%"
5185BGCOLOR="#0000C0"
5186ALIGN="center"
5187><FONT
5188COLOR="#FFFFFF"
5189SIZE="3"
5190><B
5191><A
5192HREF="book1.html"
5193><FONT
5194COLOR="#FFFFFF"
5195SIZE="3"
5196><B
5197>Home</B
5198></FONT
5199></A
5200></B
5201></FONT
5202></TD
5203><TD
5204WIDTH="25%"
5205BGCOLOR="#00C000"
5206ALIGN="center"
5207><FONT
5208COLOR="#FFFFFF"
5209SIZE="3"
5210><B
5211><A
5212HREF="libxml-lib.html"
5213><FONT
5214COLOR="#FFFFFF"
5215SIZE="3"
5216><B
5217>Up</B
5218></FONT
5219></A
5220></B
5221></FONT
5222></TD
5223><TD
5224WIDTH="25%"
5225BGCOLOR="#C00000"
5226ALIGN="right"
5227><A
5228HREF="libxml-sax.html"
5229><FONT
5230COLOR="#FFFFFF"
5231SIZE="3"
5232><B
5233>Next Page &#62;&#62;&#62;</B
5234></FONT
5235></A
5236></TD
5237></TR
5238><TR
5239><TD
5240COLSPAN="2"
5241ALIGN="left"
5242><FONT
5243COLOR="#FFFFFF"
5244SIZE="3"
5245><B
5246>parser</B
5247></FONT
5248></TD
5249><TD
5250COLSPAN="2"
5251ALIGN="right"
5252><FONT
5253COLOR="#FFFFFF"
5254SIZE="3"
5255><B
5256>SAX</B
5257></FONT
5258></TD
5259></TR
5260></TABLE
5261></DIV
5262></BODY
5263></HTML
5264>