Loading TOC...

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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.