Loading TOC...

MarkLogic 9 Product Documentation
fn.localNameFromQName

fn.localNameFromQName(
   arg as xs.QName?
) as xs.NCName?

Summary

Returns an xs:NCName representing the local part of $arg. If $arg is the empty sequence, returns the empty sequence.

Parameters
arg A qualified name.

Example

fn.localNameFromQName(
   fn.QName("http://www.example.com/example", "person") )

=> person

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