SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Standards Conformance
Extensibility
Saxon Extensions
| Introduction
| EXSLT Extensions
| Extension attributes (XSLT only)
| Additional serialization parameters
» | Extension functions
| Extension instructions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
XSLT Patterns

# saxon:base64Binary-to-string()

base64Binary-to-string(xs:base64Binary, encoding)

This function takes as input an `xs:base64Binary` value and the name of a character encoding (for example "UTF8"). It interprets the contents of the base64 value as a sequence of bytes representing a character string in a particular encoding, and returns the corresponding string.

For example, the call `saxon:base64Binary-to-string(xs:base64Binary("RGFzc2VsIA=="), "UTF8")` returns the string "Dassel".

Next