MarkLogic Server 11.0 Product Documentation
sc:complex-type

sc:complex-type(
   [$arg as item()]
) as complex-type()?

Summary

Returns the complex type of item, as a schema component, if any. If the item has a simple type rather than a complex type, the empty sequence is returned. The context item is used if no argument is given.

Parameters
arg The item whose simple type is to be returned.

Example

xdmp:describe(sc:complex-type(47))
  => ()
Powered by MarkLogic Server | Terms of Use | Privacy Policy