The function gzip.unzip allows to decompress a file in GZIP format.

1 gzip.unzip

Decompress the data stream indicated in the call argument.

    <object2Stream /> !

Decompress the file [sample_gzip.gz] and store the result (the file which is obtained when unzipping) in a file called [result_gzip.txt].

<xsql-script name='zip_gzip'>

        <!-- Decompress the and let the content in the file called x -->
        	<file name='C:/tmp/result_gzip.txt' type='absolute' />
            	<file name='C:/tmp/sample_gzip.gz' type='absolute' />