arch:extract-text

Returns the sequence of requested entries from the archive as strings. If $encoding is specified the strings are decoded appropriately, otherwise UTF-8 encoding is assumed.

extract-text($archive as xs:base64Binary, $entries as xs:string*) ➔ xs:string*

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

xs:string*

The names of the entries required

Result

xs:string*

extract-text($archive as xs:base64Binary, $entries as xs:string*, $encoding as xs:string) ➔ xs:string*

Arguments

 

$archive

xs:base64Binary

The archive to be read or altered

 

$entries

xs:string*

The names of the entries required

 

$encoding

xs:string

The encoding to use for decoding or encoding text

Result

xs:string*

Namespace

http://expath.org/ns/archive

Links to specifications

EXPath Archive Module

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).