sc.typeNamed

sc.typeNamed(
   arg as xs.QName
) as schemaType()

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.typeNamed('xs:integer');
  =>
#xs:integer
Powered by MarkLogic Server | Terms of Use | Privacy Policy