zip:binary-entry($href as xs:anyURI, $entry as xs:string) as
xs:base64Binary
Extracts the binary stream from the file positioned at $entry
within the ZIP file identified by $href and returns it as a Base64
item
Phil Fearon
http://qutoric.com
[1] http://expath.org/spec/zip
On Wed, Apr 27, 2011 at 11:36 AM, tom tom <tomxsllist@xxxxxxxxxxx> wrote:
>
> I need to take a jpeg / gif file as input and output it as base 64.
>
> Is there a way to do this using XSLT 2 (Saxon 9+) / extension functions.
>
> Thanks