RE: [xsl] XSLT - Converting image to Base64

Subject: RE: [xsl] XSLT - Converting image to Base64
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Tue, 3 May 2011 21:32:08 +0100 (BST)
tom tom wrote:

  Hi,

> > and by calling into Java you can probably read in the file
> > and get the sequence of octets to feed to that function.

> anyone know of a reliable extension that does this?

  That's what file:read($file) does, from the EXPath File module.
Unfortunately it is not widely available.  But probably it is
worth checking your processor user guide before.  And if you go
down the path of implementing your own extension, conforming to
the same signature is probably something to take into account.

  The spec is available at http://expath.org/spec/file.

  Regards,

--
Florent Georges
http://fgeorges.org/

Current Thread