Loading TOC...

MarkLogic 10 Product Documentation
sc:type-named

sc:type-named(
   $arg as xs:QName
) as schema-type()

Summary

Returns the type with the given name, if any, as a schema component. If there is no such type, an undefined type error is raised.

Parameters
arg The type name.

Example

sc:type-named('xs:integer')
  =>
#xs:integer

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