Re: [xml] xmlDocDumpMemory to my own buffer?

On Fri, Mar 24, 2006 at 01:25:32PM -0800, Rick Jones wrote:
Daniel Veillard wrote:
 build you own I/O handler saving to that specific block.

OK.  For now that tells me to live with the copy :)  But I may come back 
to it later.

  No. Just get the write I/O handler to happend to your string.
It is not hard, your write callback does an append, and your close
callback does nothing or send the final result !

  It is not hard, it does what you want and can probably take less than
20 lines of glue code, comments included.


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