Loading TOC...

fn:expanded-QName

fn:expanded-QName(
   paramURI as xs:string?,
   paramLocal as xs:string
) as xs:QName

Summary

[0.9-ml only, use fn:QName instead] Returns an xs:QName with the namespace URI given in $paramURI and the local name in $paramLocal. If $paramURI is the zero-length string or the empty sequence, it represents "no namespace".

Parameters
paramURI A namespace URI, as a string.
paramLocal A localname, as a string.

Example

(: this function only exists in 0.9-ml :)
xquery version "0.9-ml"
fn:expanded-QName("http://www.example.com/example", "person")

=> an xs:QName with namespace URI =
   "http://www.example.com/example",
   local name = "person".

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.