Loading TOC...

MarkLogic 9 Product Documentation
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"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.