MarkLogic 10 Product Documentation
xdmp.base64Decode

xdmp.base64Decode(
   encoded as String
) as String

Summary

Converts base64-encoded string to plaintext.

Parameters
encoded Encoded text to be decoded.

Example

xdmp.base64Decode(
     "c2xpbmdzIGFuZCBhcnJvd3Mgb2Ygb3V0cmFnZW91cyBmb3J0dW5l");
=> slings and arrows of outrageous fortune
Powered by MarkLogic Server | Terms of Use | Privacy Policy