Question

Using Java extensions, converting an ASCII string to base64 in XSL is simple. But bug JDK-8004476 prevents extension from working if your application is launched via webstart. Is there any other mechanism that can convert to base64 that I could implement in XSL?

Was it helpful?

Solution

You have tagged your question as XSLT 2.0, the commercial versions of one of the Java XSLT 2.0 processors, namely Saxon 9, provide http://www.saxonica.com/documentation/index.html#!functions/saxon/string-to-base64Binary. Or which Java XSLT 2.0 processor do you use?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top