Loading TOC...

xdmp.QNameFromKey

xdmp.QNameFromKey(
   $key as String
) as xs.QName

Summary

Construct a QName from a string of the form "{namespaceURI}localname". This function is useful for constructing Clark notation parameters for the xdmp:xslt-eval and xdmp:xslt-invoke functions.

Parameters
$key The string from which to construct a QName.

Example

// returns the Clark notation form of the QName

xdmp.keyFromQName(xs.QName("fn:foo"));
=>
{http://www.w3.org/2005/xpath-functions}foo

Comments

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