cts.elementAttributeValueQueryElementName( query as cts.elementAttributeValueQuery ) as Sequence
Returns the element QNames used to construct the specified query.
Parameters | |
---|---|
query | A query. |
const query = cts.elementAttributeValueQuery( xs.QName('function'), xs.QName('name'), 'MarkLogic Corporation'); cts.elementAttributeValueQueryElementName(query); // Returns xs.QName('function')