RE: [xslt] xsltproc and zlib



Better would be a --compress <level 0-9> allowing per transformation
selection of the compression used.

> -----Original Message-----
> From: Steinborn Thomas [mailto:Thomas.Steinborn@erl8.siemens.de]
> Sent: Monday, October 21, 2002 4:59 AM
> To: 'xslt@gnome.org'
> Subject: [xslt] xsltproc and zlib
> 
> 
> Hi all,
> 
> we use (our own copy of) xsltproc together with zlib enabling 
> use to open
> compressed files directely. We perform xml to xml 
> transformations on the
> compressed input. What we wanted was to have compressed 
> output as well. What
> would benefit us is if xsltproc used the global compression 
> level obtained
> by xmlGetCompressMode().
> 
> We changed the function xsltRunStylesheetUser in file 
> transform.c line 3802
> from
> 
> 	ret = xsltSaveResultToFilename(output, tmp, style, 0);
> 
> to
> 
> 	ret = xsltSaveResultToFilename(output, tmp, style,
> xmlGetCompressMode());
> 
> If others find this useful maybe it should go into the 
> official release!?
> 
> Best Regards
> Thomas
> _______________________________________________
> xslt mailing list, project page http://xmlsoft.org/XSLT/
> xslt@gnome.org
> http://mail.gnome.org/mailman/listinfo/xslt
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]