xsl-list
[Top] [All Lists]

RE: [xsl] XSLT - Converting image to Base64

2011-05-03 15:32:26
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/



--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>