MarkLogic 9 Product Documentation
sc:canonical-path

sc:canonical-path(
   [$arg as schema-component()]
) as xs:string?

Summary

Returns the canonical schema component path of the component. See http://www.w3.org/TR/xmlschema-ref/ for the definition of this path. The context item is used if no argument is given.

Parameters
arg The schema component whose canonical path is to be returned.

Example

sc:canonical-path(sc:type(47))
  => "/type::p:integer"
Powered by MarkLogic Server | Terms of Use | Privacy Policy