Re: [xml] Q: how to parsing an XML stream by elements...



On Fri, Jun 11, 2004 at 12:37:58PM +0200, lode leroy wrote:
Now I notice that xmlTextReaderRead() only returns after the next element 
has started,
so element_callback(<element id="1"/>) is only called after "<name" has 
been seen,
and not as I hoped, after "/>" or "</element>" has been seen

Does anyone know how to get libxml2 to do what I want to accomplish?

  Related to http://bugzilla.gnome.org/show_bug.cgi?id=136466

I may come up with a fix (requiring a parser option) when I have time.

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]