-<xqdoc:xqdoc>
-<xqdoc:module type="library">
<xqdoc:uri>http://exist-db.org/xquery/compression</xqdoc:uri>
-<xqdoc:comment>
<xqdoc:description>Compression and De-Compression functions</xqdoc:description>
</xqdoc:comment>
</xqdoc:module>
-<xqdoc:functions>
-<xqdoc:function>
<xqdoc:name>zip</xqdoc:name>
<xqdoc:signature>compression:zip($a as xs:anyURI+, $b as xs:boolean) xs:base64Binary*</xqdoc:signature>
-<xqdoc:comment>
<xqdoc:description>Zip's resources and/or collections. $a is a sequence of URI's, if a URI points to a collectionthen the collection, its resources and sub-collections are zipped recursively. $b indicates whether to use the collection hierarchy in the zip file.</xqdoc:description>
</xqdoc:comment>
</xqdoc:function>
</xqdoc:functions>
</xqdoc:xqdoc>