Loading TOC...

xdmp.gzip

xdmp.gzip(
   $node as Node
) as binary()

Summary

Create a gzip node from a node.

Parameters
$node The node that you want to gzip up.

Example

var gzip = xdmp.gzip(cts.doc("/mydoc.xml"));
xdmp.save("/tmp/myzip.gz", gzip);

=> Creates a gzip file from the document "/mydoc.xml", then
   saves that to the filesystem.

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy