expath-zip:text-entry
Extracts a text entry from a ZIP file and returns it as a string.
text-entry($href as xs:anyURI, $entry as xs:string) ➔ xs:string?
Arguments | |||
| $href | xs:anyURI | The URI of the ZIP file, resolved if necessary against the base URI from the static context |
| $entry | xs:string | The name or path of the required entry in the ZIP file |
Result | xs:string? |
Details
Namespace: http://expath.org/ns/zip
Notes on the Saxon implementation
Implemented since Saxon 9.5; available whether or not support for XPath 3.0 is enabled. The current Saxon implementation assumes UTF-8 encoding. Saxon extends the spec by defining that an empty sequence is returned if the entry does not exists.
The EXPath ZIP module and its implementation should not be considered as stable.