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

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


Daniel Veillard      | Red Hat Desktop team
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

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