Loading TOC...

MarkLogic 9 Product Documentation
cts.elementQueryElementName

cts.elementQueryElementName(
   query as cts.elementQuery
) as Sequence

Summary

Returns the QNames used to construct the specified query.

Parameters
query A query.

Example

const query = cts.elementQuery(
              xs.QName('function'),
              'MarkLogic Corporation');
cts.elementQueryElementName(query);

// Returns fn:QName('', 'function')

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