MarkLogic Server 11.0 Product Documentation
fn functions (QName)

These built-in functions are XQuery functions defined to operate on qualified name (xs:QName) values. They are defined in XQuery 1.0 and XPath 2.0 Functions and Operators.

7 functions
Function name Description
fn.inScopePrefixes Returns the prefixes of the in-scope namespaces for $element.
fn.localNameFromQName Returns an xs:NCName representing the local part of $arg.
fn.namespaceUriForPrefix Returns the namespace URI of one of the in-scope namespaces for $element, identified by its namespace prefix.
fn.namespaceUriFromQName Returns the namespace URI for $arg as an xs:string.
fn.prefixFromQName Returns an xs:NCName representing the prefix of $arg.
fn.QName Returns an xs:QName with the namespace URI given in $paramURI.
fn.resolveQName Returns an xs:QName value (that is, an expanded QName) by taking an xs:string that has the lexical form of an xs:QName (a string in the form "prefix:local-name" or "local-name") and resolving it using the in-scope namespaces for a given element.
Powered by MarkLogic Server | Terms of Use | Privacy Policy