Both base64 encoder and decoder are available on my web site. The
encoder XSLT files are located as you have found. The decoder is
available at
http://gandhimukul.tripod.com/base64decoder.xsl. You need datamap.xml
file for both encoder and decoder which is located at
http://gandhimukul.tripod.com/datamap.xml.
1) You can test encoder as follows
With Xalan-J -
java org.apache.xalan.xslt.Process -in base64encoder.xsl -xsl base64encoder.xsl
With Saxon -
java net.sf.saxon.Transform base64encoder.xsl base64encoder.xsl
2) Test decoder as
With Xalan-J -
java org.apache.xalan.xslt.Process -in base64decoder.xsl -xsl base64decoder.xsl
With Saxon -
java net.sf.saxon.Transform base64decoder.xsl base64decoder.xsl
Regards,
Mukul
On 1/11/06, Michael Gilbert
<michael(_dot_)s(_dot_)gilbert(_at_)gmail(_dot_)com> wrote:
Hello all,
I am attempting to create an xslt document that will translate base64
characters to human-readable floating point text (to support viewing
via a web browser).
I was able to come across this work
http://gandhimukul.tripod.com/base64encoder.xsl
http://gandhimukul.tripod.com/datamap.xml
which looks interesting, but not very well commented or simple.
Has there been any work toward supporting base64 conversion natively
in a future xslt spec? Any thoughts or suggestions are greatly
appreciated. Thank you.
Mike Gilbert
--~------------------------------------------------------------------
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>
--~--