Re: [xml] xmlDocContentDumpOutput() should be exposed in API

On Fri, Sep 13, 2002 at 04:21:38PM +0200, Michel GOUGET wrote:

  Use xmlSaveFileTo(), it will also call the close callback of your I/O
buffer at the end. No need to increase the API size in this case.

Thanks for your quick answer.

You are - nearly :-) - correct: I can use 'xmlSaveFormatFileTo()', as I need
to use a homebrew OutputBuffer because of my specific callbacks.

What confused me was that the 1st parameter was   'const char *filename'

  Yeah, naming in the API is a big bad mess ... sigh ...


'xmlOutputBufferPtr buf'    in

You foresaw everything :-), many thanks for your great library

  no problem :-)


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]