sc.canonicalPath( [arg as schemaComponent()] ) as String?
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. |
sc.canonicalPath(sc.type(47)); => "/type::p:integer"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.