Re: [xml] Creating tree in push mode.

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

  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 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]