[xml] parsing multiple files

Date view Thread view Subject view Author view

From: Alice Tull (tull@narus.com)
Date: Thu Mar 30 2000 - 16:29:37 EST


hi,

I'm using the SAX parser to parser a set of XML files.
I used xmlCreatePushParserCtxt to create the parser
context each time, and xmlFreeParserCtxt after
parsing every document. This seems quite expensive.
Is there a way to create the parser context only once,
and reset it before parsing each xml file? I tried to
use xmlClearParserCtxt instead of freeing it, but seems
like it clears my SAXHandler and userData also ...

any pointers appreciated.
alice

----
Message from the list xml@xmlsoft.org
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@xmlsoft.org


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:09 EDT