</pre>
The actual {{Code|$contents}} must be {{Code|xs:string}} or {{Code|xs:base64Binary}} items.<br/>
The {{Code|$options}} parameter contains archiving options. The following options are available: {| class="wikitable sortable" width="100%"|- valign="top"! width="140" | Option! width="50%" | Description! Allowed! Default|- valign="top"| * {{Code|format}}| Archive format.| : allowed values are {{Code|zip}}, and {{Code|gzip}}| . {{Code|zip}}is the default.|- valign="top"| * {{Code|algorithm}}| Archive algorithm (gzip only supports : allowed values are {{Code|deflate}}).| and {{Code|stored}}, (for the {{Code|deflatezip}}| format). {{Code|deflate}}|}is the default.
|-
| '''Errors'''