Platforms to show: All Mac Windows Linux Cross-Platform
Back to SaxonProcessorMBS class.
SaxonProcessorMBS.clarkNameToEQName(name as String) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
The expanded name, as a string using the notation defined by the EQName production in XPath 3.0. If the name is in a namespace, the resulting string takes the form Q{uri}local. Otherwise, the value is the local part of the name.
Name: The URI in Clark notation: {uri}local if the name is in a namespace, or simply local if not.
Returns the expanded name, as a string using the notation defined by the EQName production in XPath 3.0.
SaxonProcessorMBS.clearConfigurationProperties
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
SaxonProcessorMBS.ConfigurationProperty(name as String) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| property | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Properties specified here are common across all the processors.
Example 'l': enable line number has the value 'on' or 'off'
(Read and Write computed property)
Some examples using this property:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Create Saxon Processor.
See also:
SaxonProcessorMBS.Constructor(other as SaxonProcessorMBS)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
See also:
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
SaxonProcessorMBS.EQNameToClarkName(name as String) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
name: The URI in EQName notation: Q{uri}local if the name is in a namespace. For a name in no namespace, either of the forms Q{}local or simply local are accepted.
Returns the URI in the clark notation.
SaxonProcessorMBS.NewDocumentBuilder as DocumentBuilderMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
A DocumentBuilder is used to load source XML documents.
SaxonProcessorMBS.NewSchemaValidator as SchemaValidatorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Returns nil, if license doesn't allow the validator.
Some examples using this method:
SaxonProcessorMBS.NewXPathProcessor as XPathProcessorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
An XPathProcessor is used to compile XPath expressions.
Some examples using this method:
SaxonProcessorMBS.NewXQueryProcessor as XQueryProcessorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
An XQueryProcessor is used to compile XQuery queries.
Some examples using this method:
SaxonProcessorMBS.NewXslt30Processor as Xslt30ProcessorMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
An Xslt30Processor is used to compile XSLT30 stylesheets.
Some examples using this method:
SaxonProcessorMBS.parseJsonFromFile(File as FolderItem) as XdmValueMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
File: The full path to the file.
Returns an XdmValueMBS.
Throws a SaxonExceptionMBS if there ia a failure in the parsing of the XML file.
SaxonProcessorMBS.parseJsonFromPath(Path as String) as XdmValueMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Path: the filename of the JSON. This is a full path filename or a URI.
Returns an XdmValueMBS.
Throws a SaxonExceptionMBS if there ia a failure in the parsing of the XML file.
SaxonProcessorMBS.parseJsonFromString(content as String, encoding as String = "") as XdmValueMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
source: the JSON as a lexical string
encoding: the encoding of the source argument. Argument can be omitted and "" accepted to use the default platform encoding.
Returns an XdmValueMBS.
Raises SaxonExceptionMBS if there is a failure in the parsing of the JSON.
SaxonProcessorMBS.parseXmlFromFile(File as FolderItem, validator as SchemaValidatorMBS = nil) as XdmNodeMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
source: the filename of the source document
validator: can be used to supply a SchemaValidator to validate the document. Default is nil.
Returns an XdmNodeMBS
Throws a SaxonExceptionMBS if there ia a failure in the parsing of the XML file.
SaxonProcessorMBS.parseXmlFromPath(Path as String, validator as SchemaValidatorMBS = nil) as XdmNodeMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
source: the filename of the source document
validator: can be used to supply a SchemaValidator to validate the document. Default is nil.
Returns an XdmNodeMBS
Throws a SaxonExceptionMBS if there ia a failure in the parsing of the XML file.
SaxonProcessorMBS.parseXmlFromString(content as String, encoding as String = "", validator as SchemaValidatorMBS = nil) as XdmNodeMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
source: the source document as a lexical string
encoding: the encoding used to decode the source string. If not specified then platform default encoding is used.
validator: can be used to supply a SchemaValidator to validate the document. Default is nil.
Returns an XdmNodeMBS
Throws a SaxonExceptionMBS if there is a failure in the parsing of the XML document
SaxonProcessorMBS.parseXmlFromUri(URI as String, validator as SchemaValidatorMBS = nil) as XdmNodeMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
source: the URI of the source document
validator: can be used to supply a SchemaValidator to validate the document. Default is nil.
Returns an XdmNodeMBS.
Raises SaxonExceptionMBS if there ia failure in the parsing of the XML file
SaxonProcessorMBS.setCatalog(catalogFile as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
catalogFile: file name to the catalog
SaxonProcessorMBS.setCatalogFiles(catalogFiles() as String)
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
catalogFiles: the catalog file names array to the catalog
SaxonProcessorMBS.StringValue(item as XdmItemMBS) as String
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
SaxonProcessorMBS.SystemFunction(name as String, arity as Integer) as XdmFunctionItemMBS
| Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
| method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
This can be any function defined in XPath 3.1 functions and operators, including functions in the math, map, and array namespaces. It can also be a Saxon extension function, provided a licensed Processor is used.
processor: The Saxon Processor object required to get the system function.
name: the name of the function
arity: the number of arguments in the function
Returns the requested function, or null if there is no such function. Note that some functions (those with particular context dependencies) may be unsuitable for dynamic calling.
The items on this page are in the following plugins: MBS XML Plugin.