</pre>
The actual {{Code|$contents}} must be {{Code|xs:string}} or {{Code|xs:base64Binary}} items.<br/>
The {{Code|$options}} argument contains archiver optional optionsto modify archiving. Options can be specified in an '''element''' or '''map''':...* as '''Element element node''', which contains a root node and key/value pairs as children:
<pre class="brush:xml">
<archive:options>
</archive:options>
</pre>
* [[Map Module|Map]]as '''map''', in which all options are directly represented as key/value pairs:
<pre class="brush:xml">
map { "format" := "zip", "algorithm" := "deflate" }