Re: [xml] xmlSetDocCompressMode and xmlSaveTree

On Mon, Nov 20, 2006 at 09:45:47AM -0600, David Hagood wrote:
Is setting compression on an xmlDoc via xmlSetDocCompressMode supposed to
cause the output of that document to be compressed when using xmlSaveTree.
or am I misunderstanding its use - because if I set the compression on a
document its output is not compressed.

  xmlSaveTree operate on a subtree, and this function currently doesn't
look up the information stored on the document node. Basically you're saving
a different document, so those kind of options get lost.


Red Hat Virtualization group
Daniel Veillard      | virtualization library
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]