<?xml version="1.0" encoding="iso-8859-1"?> <?xml-stylesheet href="../../make-menu.xsl" type="text/xsl"?><html> <head> <this-is section="extensions" page="functions" subpage="base64binarytostring"/> <!-- Generated at 2011-12-09T20:47:22.916Z--><title>Saxonica: XSLT and XQuery Processing: saxon:base64Binary-to-string()</title> <meta name="coverage" content="Worldwide"/> <meta name="copyright" content="Copyright Saxonica Ltd"/> <meta name="title" content="Saxonica: XSLT and XQuery Processing: saxon:base64Binary-to-string()"/> <meta name="robots" content="noindex,nofollow"/> <link rel="stylesheet" href="../../saxondocs.css" type="text/css"/> </head> <body class="main"> <h1>saxon:base64Binary-to-string()</h1> <p><b>saxon:base64Binary-to-string($in as xs:base64Binary, $encoding as xs:string) ==> xs:string</b></p> <p>This function takes as input an <code>xs:base64Binary</code> 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.</p> <p>For example, the call <code>saxon:base64Binary-to-string(xs:base64Binary("RGFzc2Vs"), "UTF8")</code> returns the string "Dassel".</p> <table width="100%"> <tr> <td> <p align="right"><a class="nav" href="call.xml">Next</a></p> </td> </tr> </table> </body> </html>