On 30/09/2009, Marius Pacha <[email protected]> wrote:
>
> Here's what I was trying:
>
> xmlBuffer *buf = xmlBufferCreate();
> xmlSaveCtxt *subtree = xmlSaveToBuffer(buf,NULL,XML_SAVE_FORMAT);
> int opResult = xmlSaveTree(subtree, cur);

Forgetting to call xmlSaveClose?

<http://xmlsoft.org/html/libxml-xmlsave.html#xmlSaveClose>

The attached mini program is what I guess you're trying to do here.

Martin

Attachment: savelast.c
Description: Binary data

_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to