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')
Powered by MarkLogic Server | Terms of Use | Privacy Policy