Re: [xml] Rewinding an xmlTextReaderPtr



On Mon, Sep 15, 2003 at 06:14:34PM +0530, Tojo Punnoose wrote:
question is, is there a way to rewind the xmlTextReaderPtr to the beginning 
of the file, without re-opening the actual xml file.

  No, the parser cannot go back, data have been discarded, freed or
overwritten, you have to parse from the start or memorize data at the
application level.
  This does not mean having to reopen/reread the file depending on 
how you pass the data to the parser.
    http://xmlsoft.org/xmlreader.html

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]