MarkLogic70XPathTokenProvider
The tokens present in the XPath 2.0 vendor extensions for MarkLogic 7.0.
The following vendor extensions are supported when the xdmp:dialect="1.0-ml"
attribute is present on the top level element of an XSLT stylesheet:
schema kind tests.
Schema kind tests are supported on ItemType
but not on NodeTest
. The following schema kind tests are supported:
attribute-decl()
,attribute-decl(*)
,attribute-decl(attr-name)
;complex-type()
,complex-type(*)
,complex-type(type-name)
;element-decl()
,element-decl(*)
,element-decl(elem-name)
;model-group()
,model-group(*)
,model-group(elem-name)
;schema-component()
;schema-particle()
,schema-particle(*)
,schema-particle(elem-name)
;schema-root()
;schema-type()
,schema-type(*)
,schema-type(type-name)
;schema-wildcard()
;simple-type()
,simple-type(*)
,simple-type(type-name)
.
NOTE: When a schema kind test is used in a NodeTest
MarkLogic reports an "Unexpected token" error instead of an "Undefined function" error. As such, the schema kind test keywords are reserved function names.