Re: [xml] problems using xmlSaveFileTo()



On Fri, Mar 01, 2002 at 02:06:40PM +0100, MDC A. wrote:
hi,

I have create a nodes tree using libxml2.4.15 and I
want tu dump it into a buffer in memory, so I think I
have to use xmlSaveFileTo(xmlOutputBufferPtr buf,
xmlDocPtr cur, const char *encoding).

  No. Use xmlDocDumpMemoryEnc()
  http://xmlsoft.org/html/libxml-tree.html#XMLDOCDUMPMEMORYENC

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.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]