Loading TOC...

sem:invalid-datatype

sem:invalid-datatype(
   $val as sem:invalid
) as sem:iri

Summary

Returns the datatype IRI of a sem:invalid value.

This function is a built-in.

Parameters
$val The sem:invalid value.

Example

sem:invalid-datatype(sem:invalid("invalid value", sem:iri("string")))
=>
string (as a sem:iri)

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