arch:create
Returns a new archive with each of the given entries in $entries
set to the
corresponding values in the sequence $new
.
create($entries as xs:string*, $new as xs:base64Binary*) ➔ xs:base64Binary
Arguments | |||
| $entries | xs:string* | The names of the entries required |
| $new | xs:base64Binary* | Sequence of binary data for the required entries |
Result | xs:base64Binary |
create($entries as xs:string*, $new as xs:base64Binary*, $options as element(arch:options)) ➔ xs:base64Binary
Arguments | |||
| $entries | xs:string* | The names of the entries required |
| $new | xs:base64Binary* | Sequence of binary data for the required entries |
| $options | element(arch:options) | Options for the created archive |
Result | xs:base64Binary |
Namespace
http://expath.org/ns/archive
Links to specifications
Saxon availability
Available whether or not support for XPath 3.0 is enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).
Notes on the Saxon implementation
Only the two argument form is implemented. The specification is not finalised regarding using element and attribute options to control archive manipulation. If you are using XPath 3.0+, then we suggest using the map-based equivalent function arch:create-map(), which is much more likely to be stable.