Loading TOC...

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"

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