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.makeArray(input() as Variant) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Uses makeValue internally to convert variant values to XdmValue.
SaxonProcessorMBS.makeArrayValues(input() as XdmValueMBS) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of XdmValue pointers
Returns an XdmArray whose members are XdmValue values corresponding one-to-one with the input.
SaxonProcessorMBS.makeAtomicValue(type as String, value as String) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
type: Local name of a type in the XML Schema namespace.
value: The value given in a string form.
In the case of a QName the value supplied must be in clark notation. {uri}local
Returns XdmValueMBS object.
See also:
SaxonProcessorMBS.makeAtomicValue(value as Variant) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Converts values to Atomic value. Supports string, text, date/datetime, UInt32, UInt64, Int64, Int32, Integer, Color, Boolean, Single and Double.
See also:
SaxonProcessorMBS.makeBooleanArray(input() as Boolean) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of boolean values
Returns an XdmArrayMBS whose members are xs:boolean values corresponding one-to-one with the input.
SaxonProcessorMBS.makeBooleanValue(value as Boolean) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Makes a XdmAtomicValue representing a boolean Value.
SaxonProcessorMBS.makeDoubleArray(input() as Double) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of single values.
Returns an XdmArray whose members are xs:float values corresponding one-to-one with the input.
SaxonProcessorMBS.makeDoubleValue(value as Double) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Make an XdmAtomicValue from a primitive double value
SaxonProcessorMBS.makeInt16Array(input() as Int16) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of short values
Returns an XdmArray whose members are xs:boolean values corresponding one-to-one with the input.
SaxonProcessorMBS.makeInt32Array(input() as Int32) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of int values.
Returns an XdmArray whose members are xs:int values corresponding one-to-one with the input.
SaxonProcessorMBS.makeInt32Value(value as Int32) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
SaxonProcessorMBS.makeInt64Array(input() as Int64) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of long values
Returns an XdmArray whose members are xs:long values corresponding one-to-one with the input.
SaxonProcessorMBS.makeInt64Value(value as Int64) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
makes either an Int64Value or a BigIntegerValue depending on the value supplied.
SaxonProcessorMBS.makeIntegerArray(input() as Integer) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of integer values
Either uses makeInt64Array or makeInt32Array internally depending on whether this is 32-bit or 64-bit application.
SaxonProcessorMBS.makeIntegerValue(value as Integer) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Internally uses makeInt32Value or makeInt64Value depending on whether the application is 32-bit or 64-bit.
SaxonProcessorMBS.makeMap(dataMap as Dictionary) as XdmMapMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
dataMap: is dictionary, which consists of keys as XdmAtomicValueMBS and value is XdmValueMBS.
Returns an XdmMap whose members are key, value pair given as (XdmAtomicValue, XdmValue)
For your convenience we convert various data types to XdmAtomicValueMBS automatically using makeAtomicValue method.
Also for your convenience any value in the dictionary not being a XdmValueMBS is converted to XdmValueMBS using makeValue() function.
SaxonProcessorMBS.makeObjectArray(input() as Object) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Uses makeValue internally to convert variant values to XdmValue.
SaxonProcessorMBS.makeQNameValue(value as String) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
value: The value given in a string form in clark notation. {uri}local
Returns XdmAtomicValueMBS object.
SaxonProcessorMBS.makeSingleArray(input() as Single) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of double values.
Returns an XdmArray whose members are xs:double values corresponding one-to-one with the input.
SaxonProcessorMBS.makeSingleValue(value as Single) as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Make an XdmAtomicValue from a primitive float value.
SaxonProcessorMBS.makeStringArray(input() as String) as XdmArrayMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
input: the input array of string values
Returns an XdmArray whose members are xs:string values corresponding one-to-one with the input.
SaxonProcessorMBS.makeStringValue(value as String, encoding as String = "") as XdmAtomicValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Unlike the constructor, this avoids creating a new StringValue in the case of a zero-length string (and potentially other strings, in future)
value: the String value.
encoding: the encoding of the string. If not specified then the platform default encoding is used.
SaxonProcessorMBS.makeValue(value as Variant) as XdmValueMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Saxon | MBS XML Plugin | 25.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | All |
Converts values to XdmValueMBS internally:
- nil value
- Array of String
- Array of Boolean
- Array of Int32, Int64 or Integer
- Array of Single/Double
- Array of Object/Variant
- String, OSType, Date, DateTime, Text
- Int32
- Int64, UInt32, Color
- Single
- Double, Currency, UInt64
- Boolean
- Object: Dictionary or XdmValueMBS
Raises exception for unsupported types. We could add more types if needed.
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.
The items on this page are in the following plugins: MBS XML Plugin.
