arch:update

Returns an archive with each of the given entries in $entries updated to the corresponding values in the sequence $new. If an entry is not found, a new entry is added to the end of the archive.

update($archive as xs:base64Binary, $entries as xs:string*, $new as xs:base64Binary*) ➔ xs:base64Binary

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

xs:string*

The names of the entries required

 

$new

xs:base64Binary*

Sequence of binary data for the required entries

Result

xs:base64Binary

update($archive as xs:base64Binary, $entries as xs:string*, $new as xs:base64Binary*, $last-modified as xs:dateTime) ➔ xs:base64Binary

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

xs:string*

The names of the entries required

 

$new

xs:base64Binary*

Sequence of binary data for the required entries

 

$last-modified

xs:dateTime

The modification date to be written on the entry

Result

xs:base64Binary

Namespace

http://expath.org/ns/archive

Links to specifications

EXPath Archive Module