Re: new pkg metadata generating scripts
Daniel Veillard <[email protected]>
| Newsgroups | gmane.linux.rpm.metadata |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 24, 2003 at 01:47:19AM -0500, seth vidal wrote:
> one problem I'm having is that I'd like to write the xml out directly to
> gzipped files but libxml2's saveTo() isn't outputting any data into
> gzipOpen() returned file objects. Any cluebats appreciated.
Hum, gzip support is included directly, do
doc.setDocCompressMode(9)
doc.saveFile(filename)
that should work.
Maybe gzipOpen() returned object are not detected as file object
by libxml2 python wrappers. Extract a small example and post it to
[email protected] or onto gnome bugzilla so I will have a look,
thanks,
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
[email protected] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/