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/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ xml mailing list, project page http://xmlsoft.org/ [email protected] http://mail.gnome.org/mailman/listinfo/xml
