Loading TOC...

MarkLogic 9 Product Documentation
cts.elementAttributeValueQueryElementName

cts.elementAttributeValueQueryElementName(
   query as cts.elementAttributeValueQuery
) as Sequence

Summary

Returns the element QNames used to construct the specified query.

Parameters
query A query.

Example

const query = cts.elementAttributeValueQuery(
              xs.QName('function'),
              xs.QName('name'),
              'MarkLogic Corporation');
cts.elementAttributeValueQueryElementName(query);

// Returns xs.QName('function')

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