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.


Daniel Veillard      | Red Hat Network
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]