<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/cts.elementQueryElementName.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>cts.elementQueryElementName</api:function-name><api:suggest>cts.elementqueryelementname</api:suggest><api:suggest>cts</api:suggest><api:suggest>elementqueryelementname</api:suggest><api:function-link mode="xquery" fullname="cts:element-query-element-name">/apidoc/8.0/cts:element-query-element-name.xml</api:function-link><api:function mode="javascript" name="elementQueryElementName" type="builtin" lib="cts" category="SearchBuiltins" subcategory="cts:query Constructors" hidden="false" bucket="MarkLogic Built-In Functions" prefix="cts" namespace="http://marklogic.com/cts" fullname="cts.elementQueryElementName"><api:summary>
  Returns the QNames used to construct the specified query.
</api:summary><api:params><api:param name="query" type="cts:element-query"><api:param-description>
    A query.
  </api:param-description><api:param-name>query</api:param-name><api:param-type>cts.elementQuery</api:param-type></api:param></api:params><api:return>ValueIterator</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
var query = cts.elementQuery(
              xs.QName("function"),
              "MarkLogic Corporation");
cts.elementQueryElementName(query);

  =&gt; fn:QName("", "function")
</pre></api:example></api:function></api:function-page>