MarkLogic Server 11.0 Product Documentation
xdmp:base64-decode

xdmp:base64-decode(
   $encoded as xs:string
) as xs:string

Summary

Converts base64-encoded string to plaintext.

Parameters
encoded Encoded text to be decoded.

Example

xdmp:base64-decode(
     "c2xpbmdzIGFuZCBhcnJvd3Mgb2Ygb3V0cmFnZW91cyBmb3J0dW5l")
=> slings and arrows of outrageous fortune
Powered by MarkLogic Server | Terms of Use | Privacy Policy