
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')