xdmp:decode-from-NCName( $name as xs:string ) as xs:string
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.
|
xdmp:decode-from-NCName("A_20_Name") => "A name"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.