SAXONICA

Saxon Documentation
Full Contents
About Saxon
Changes in this Release
| Version 8.7 (2006-02-24)
| Version 8.6.1 (24 November 2005)
| Version 8.6 (3 November 2005)
| Version 8.5.1 (26 August 2005)
| Version 8.5 (2 August 2005)
» | Version 8.4 (4 April 2005)
| Version 8.3 (11 February 2005)
| Version 8.2 (21 December 2004)
| Version 8.1.1 (8 October 2004)
| Version 8.1 (24 September 2004)
| Version 8.0 (1 June 2004)
Conditions of Use
Using XSLT 2.0
Using XQuery
Handling Source Documents
XML Schema Processing
The XPath API
Saxon on .NET
Extensibility
Saxon Extensions
Sample Saxon Applications
The Saxon SQL Extension
XSLT Elements
XPath 2.0 Expression Syntax
Function Library
Standards Conformance

# Extensions

Two new extension functions `base64Binary-to-string()` and `hexBinary-to-string()` are provided. The first argument is a bas64Binary value or hexBinary value, the second is the name of a character encoding. The function takes the sequence of octets encoded by the base64 or hex binary value, and treats it as a character string that has been encoded using the specified encoding. It then returns the result of decoding the value, as a string.

(The function base64Binary-to-string() was found useful in converting LDAP data to XML, and hexBinary-to-String() was added for symmetry).

Next