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
XPath API for Java
Saxon on .NET
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
Standards Conformance

# saxon:base64Binary-to-string()

saxon:base64Binary-to-string($in as xs:base64Binary, $encoding as xs:string) ==> xs:string

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