ePublisher Platform XSLT Extensions
 
void ZipDirectory (string zipFilePath, string directoryPath)
 
Zip a directory and recursively include sub-directories without compressing any files.
Parameters:
zipFilePath
Full pathname of the zip file.
directoryPath
Full pathname of the directory.
Creates zip archive C:.zip with the directory and and subdirectories of 'C:\ projects'.
<xsl:variable name="VarZipDirectory" select="wwzip:ZipDirectory('C:\some\archive.zip', 'C:\projects\myproject'" />