Loading TOC...

MarkLogic 12 EA 2 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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.