<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/fn.tail.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>fn.tail</api:function-name><api:suggest>fn.tail</api:suggest><api:suggest>fn</api:suggest><api:suggest>tail</api:suggest><api:function-link mode="xquery" fullname="fn:tail">/apidoc/8.0/fn:tail.xml</api:function-link><api:function mode="javascript" name="tail" type="builtin" lib="fn" category="Higher-Order" bucket="W3C-Standard Functions" hidden="false" prefix="fn" namespace="http://www.w3.org/2005/xpath-functions" fullname="fn.tail"><api:summary>
  Returns all but the first item in a sequence.
  For more details, see
  <a href="http://www.w3.org/TR/2011/WD-xpath-functions-30-20111213/#func-tail" target="_blank" xmlns="http://www.w3.org/1999/xhtml">XPath 3.0 Functions and Operators</a>.
</api:summary><api:params><api:param name="seq" type="item()*"><api:param-description>
    The function value.
  </api:param-description><api:param-name>seq</api:param-name><api:param-type>ValueIterator</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">
fn.tail(xdmp.arrayValues([1,2,3]))
=&gt; (2, 3)
</pre></api:example></api:function></api:function-page>