Platforms to show: All Mac Windows Linux Cross-Platform
Back to XPathProcessorMBS class.
XPathProcessorMBS.BackwardsCompatible as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
In backwards compatibility mode, more implicit type conversions are allowed in XPath expressions, for example it is possible to compare a number with a string. The default is false (backwards compatibility mode is off).
Value is true if XPath 1.0 backwards compatibility is to be enabled, false if it is to be disabled.
(Read and Write property)
XPathProcessorMBS.BaseURI as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
The base URI is part of the static context, and is used to resolve any relative URIs appearing within an XPath expression, for example a relative URI passed as an argument to the doc() function. If no static base URI is supplied, then the current working directory is used.
(Read and Write property)
XPathProcessorMBS.Caching as Boolean
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Caching if set to true, caching of compiled expressions is enabled.
If set to false, any existing cache is cleared, and future compiled expressions will not be cached until caching is re-enabled. The cache is also cleared (but without disabling future caching) if any method is called that changes the static context for compiling expressions, for example declareVariable(QName) or declareNamespace(String, String).
(Read and Write property)
XPathProcessorMBS.ContextFile as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Set either ContextFile or ContextItem.
(Read and Write property)
XPathProcessorMBS.ContextItem as XdmItemMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Set either ContextFile or ContextItem.
(Read and Write property)
XPathProcessorMBS.CWD as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
The path must end with a slash (or a backslash on Windows).
(Read and Write property)
XPathProcessorMBS.Handle as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
XPathProcessorMBS.LanguageVersion as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Set the language version for the XPath compiler.
One of the values 1.0, 2.0, 3.0, 3.05, 3.1, 4.0.
Setting the option to 1.0 requests an XPath 2.0 processor running in 1.0 compatibility mode; this is equivalent to setting the language version to 2.0 and backwards compatibility mode to true. Requesting "3.05" gives XPath 3.0 plus the extensions defined in the XSLT 3.0 specification (map types and map constructors).
(Read and Write property)
XPathProcessorMBS.Parameters as Dictionary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Great for viewing them in the debugger.
(Read only property)
XPathProcessorMBS.Properties as Dictionary
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Great for viewing them in the debugger.
(Read only property)
XPathProcessorMBS.UnprefixedElementMatchingPolicy as Integer
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
(Read and Write property)
The items on this page are in the following plugins: MBS XML Plugin.