Re: [xml] Creating tree in push mode.
- From: Daniel Veillard <veillard redhat com>
- To: Sridhar Guthula <sguthula credolink com>
- Cc: xml gnome org
- Subject: Re: [xml] Creating tree in push mode.
- Date: Tue, 6 Jan 2004 03:40:23 -0500
On Mon, Jan 05, 2004 at 05:48:28PM -0800, Sridhar Guthula wrote:
xmlParseChunk and xmlCreatePushParserCtxt are tied up with SAX. As I
understand, Libxml doesn't have validation with SAX. If not for the
push mode, I have to do the expensive copy (may be Realloc) for every
chunk.
Push generates a tree by default. Just give NULL SAX and data arguments.
Check the code for xmllint.c when using the --push option.
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]