cts.elementQueryElementName( query as cts.elementQuery ) as Sequence
Returns the QNames used to construct the specified query.
Parameters | |
---|---|
query | A query. |
const query = cts.elementQuery( xs.QName('function'), 'MarkLogic Corporation'); cts.elementQueryElementName(query); // Returns fn.QName('', 'function')
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.