That function only works with encoded strings, and I think they have to be
UTF-8 as well. But try this trick:
binary { xs:hexBinary(xs:base64Binary('JxrHeSl2YX4LunZkWKZqog=='))
-- Mike
On 6 Jun 2012, at 13:25 , Steve Spigarelli wrote:
> How do I tell this code that I don't want it to be UTF-8 encoded?
>
> xquery version "1.0-ml";
>
> xdmp:base64-decode('JxrHeSl2YX4LunZkWKZqog==')
_______________________________________________
General mailing list
[email protected]
http://community.marklogic.com/mailman/listinfo/general