Loading TOC...

xdmp.decodeFromNCName

xdmp.decodeFromNCName(
   $name as String
) as String

Summary

Invertible function that decodes characters an NCName produced by xdmp:encode-for-NCName. Given the NCName produced by xdmp:encode-for-NCName this function returns the original string.

Parameters
$name A string representing an NCName. This string must have been the result of a previous call to xdmp:decode-from-NCName or undefined results will occur.

Example

xdmp.decodeFromNCName("A_20_Name")
=> "A name"

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy