Re: [xml] xmlDocDumpMemory to my own buffer?
- From: Daniel Veillard <veillard redhat com>
- To: Rick Jones <rick jones2 hp com>
- Cc: xml gnome org
- Subject: Re: [xml] xmlDocDumpMemory to my own buffer?
- Date: Fri, 24 Mar 2006 17:42:07 -0500
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.
http://xmlsoft.org/html/libxml-xmlsave.html#xmlSaveToIO
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
--
Daniel Veillard | Red Hat http://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]