> libxml2.py around line 2970 > > > def saveFormatFileEnc(self, filename, encoding, format): > """Dump an XML document to a file or an URL. """ > ret = libxml2mod.xmlSaveFormatFileEnc(filename, self._o, encoding, format) > return ret yah - I found this after a bit, it's all working nicely now with gzip compression. -sv