Loading TOC...

sc.facets

sc.facets(
   [$arg as schemaComponent()]
) as ValueIterator

Summary

Returns the facets of the component, if any. Only simple types have facets. The context item is used if no argument is given.

Parameters
$arg The item whose facets are to be returned.

Example

sc.facets(sc.typeNamed(xs.QName('xs:NCName')));
  =>
whiteSpace=collapse
pattern=([\i-[:]][\c-[:]]*)

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy