Changes

Jump to navigation Jump to search
35 bytes added ,  23:33, 4 June 2012
|-
| '''Summary'''
|Creates a new ZIP archive from the specified entries and contents.<br/>The {{Code|$entries}} descriptors contain meta information required to create new ZIP entries. Beside the mandatory entry name, which is specified contained in a the text node, further optional attributes can be specified:
* {{Code|last-modified}}: timestamp, specified as xs:dateTime (default: current time)
* {{Code|compression-level}}: 0-9, 0 = uncompressed (default: 8)
</pre>
The actual {{Code|$contents}} must be {{Code|xs:string}} or {{Code|xs:base64Binary}} items.<br/>
The {{Code|$options}} argument can be used to modify the archive settings. Currently, only the default contains archiver options are supported. Options can be specified asin an '''element''' or '''map''':
* '''Element node''':
<pre class="brush:xml">
</archive:options>
</pre>
* [[Map Module|Map]]: <codepre class="brush:xml">map { "format" := "zip", "algorithm" := "deflate" }</codepre>Currently, only the default options are supported.
|-
| '''Errors'''
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu