Loading TOC...

MarkLogic 12 EA 2 Product Documentation
sem:uuid-string

sem:uuid-string() as xs:string

Summary

Return a string that is the scheme specific part of random UUID URN (RFC4122). This XQuery function backs up the SPARQL STRUUID() function.

This function is a built-in.

Example

sem:uuid-string()
=>
3e25ff09-c6a8-4176-bb83-b771a9eb0e4c

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.