## page was renamed from DevCenter/Documentation/ExtensionObjects/Zip = Zip = {{{#!rst Purpose: Allow XSL transforms to handle zip archives. Namespace: urn:WebWorks-XSLT-Extension-Zip Prefix: wwzip Methods: ZipDirectory(string archivePath, string directoryPath): Zip a directory and recursively include sub-directories. Returns: void Example: Creates zip archive ``C:\some\archive.zip`` with the directory and and subdirectories of ``C:\projects\myproject``. :: ZipDirectoryWithoutCompression(string archivePath, string directoryPath): Zip a directory and recursively include sub-directories without compressing any files. Returns: void Example: Creates zip archive ``C:\some\archive.zip`` with the directory and and subdirectories of ``C:\projects\myproject``. :: Zip(string archivePath, node-set nodes): Create a zip archive containing a list of files. Returns: void Example: Creates a zip archive ``C:\some\archive.zip`` with the contents defined in the node set. :: ZipWithoutCompression(string archivePath, node-set nodes): Create a zip archive containing a list of files without compressing any files. Returns: void Example: Creates a zip archive ``C:\some\archive.zip`` with the contents defined in the node set. :: ZipAdd(string archivePath, node-set nodes): Add a list of files to a zip archive. Returns: void Example: Append to zip archive ``C:\some\archive.zip`` with the contents defined in the node set. :: ZipAddWithoutCompression(string archivePath, node-set nodes): Add a list of files to a zip archive without compressing any files. Returns: void Example: Append to zip archive ``C:\some\archive.zip`` with the contents defined in the node set. :: ZipExtract(string archivePath, string extractDirectory): Extract contents of a zip archive to a specified directory location. Returns: void Example: Extracts the contents of zip archive ``C:\some\archive.zip`` to ``C:\projects\myproject``. :: }}}