Re: [xslt] XsltSaveResultFileToMemoryBuffer() ?



On Tue, Jul 31, 2001 at 02:54:37PM +0200, Heiko Rupp wrote:
> Daniel Veillard wrote:
> 
> >   But it should not be hard to do a routine, actually if you
> > submit a patch for this I will integrate it (there is just a bit
> > of control needed to check that your output buffer won't be outgrown)
> > If your memory area is not constrined just use xmlAllocOutputBuffer ()
> 
> 
> Ok, with the code from Tom Moog, the attached works well for me

  Well it's not really ready for addition:
    - there is an obvious memory leak
    - it doesn't support an encoder like the other interfaces

 It's realtively simple to fix, I will try to if you don't.

Daniel

-- 
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
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]