On Fri, Nov 03, 2006 at 03:31:20PM +0200, Andrew W. Nosenko wrote: > Sorry for possible stupid question, but what is difference between > xmlTextReaderNext() and xmlTextReaderNextSibling()? > > Documentation for both say that they do > "Skip to the node following the current one in document order > while avoiding the subtree if any". > > Therefore, the question raised: what is functional difference between them?
the later states: Currently implemented only for Readers built on a document so it works only on a subset of the readers, while xmlTextReaderNextSibling is generic, on the other hand it should be faster. There might be semantic differences but I could not spot them immediately the code is really different. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
