arch:update-map

Returns an archive with each of the given entries in the keys of $entries updated to the corresponding values in the $entries($key)('content') and with other properties defined by $entries($key)(*). If an entry is not found, a new entry is added to the end of the archive.

update-map($archive as xs:base64Binary, $entries as map(xs:string,map(xs:string,item()*))) ➔ xs:base64Binary

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

map(xs:string,map(xs:string,item()*))

The names of the entries required

Result

xs:base64Binary

update-map($archive as xs:base64Binary, $entries as map(xs:string,map(xs:string,item()*)), $default.options as map(xs:string,item()*)) ➔ xs:base64Binary

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

map(xs:string,map(xs:string,item()*))

The names of the entries required

 

$default.options

map(xs:string,item()*)

Result

xs:base64Binary

Namespace

http://expath.org/ns/archive

Links to specifications

EXPath Archive Module

Saxon availability

Requires support for XPath 3.0 to be enabled. Implemented since Saxon 9.6. Requires Saxon-PE or Saxon-EE. Available for Java and C/C++ only (not .NET).