sc.canonicalPath

sc.canonicalPath(
   [arg as schemaComponent()]
) as 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.canonicalPath(sc.type(47));
  => "/type::p:integer"
Powered by MarkLogic Server | Terms of Use | Privacy Policy