<?xml version="1.0" encoding="UTF-8"?><api:function-page xml:base="/apidoc/8.0/sem.uuid.xml" generated="2015-10-07T16:36:00.016766-07:00" mode="javascript" xmlns:api="http://marklogic.com/rundmc/api"><api:function-name>sem.uuid</api:function-name><api:suggest>sem.uuid</api:suggest><api:suggest>sem</api:suggest><api:suggest>uuid</api:suggest><api:function-link mode="xquery" fullname="sem:uuid">/apidoc/8.0/sem:uuid.xml</api:function-link><api:function mode="javascript" name="uuid" type="builtin" lib="sem" category="Semantics" hidden="false" bucket="MarkLogic Built-In Functions" prefix="sem" namespace="http://marklogic.com/semantics" fullname="sem.uuid"><api:summary>
  Return a UUID URN (RFC4122) as a <code xmlns="http://www.w3.org/1999/xhtml">sem:iri</code> value.
  This XQuery function backs up the SPARQL UUID() function.
  <p xmlns="http://www.w3.org/1999/xhtml">This function is a built-in.</p>
</api:summary><api:params/><api:return>sem.iri</api:return><api:example class="javascript"><pre xml:space="preserve" xmlns="http://www.w3.org/1999/xhtml">
sem.uuid()
=&gt;
urn:uuid:3e25ff09-c6a8-4176-bb83-b771a9eb0e4c
</pre></api:example></api:function></api:function-page>