Platforms to show: All Mac Windows Linux Cross-Platform

Back to XMLParserMBS class.

XMLParserMBS.Asynchronous as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return whether the parser is asynchronous.

Value is true if the XMLParserMBS is asynchronous and false if it is synchronous.
(Read only property)

XMLParserMBS.Busy as Boolean

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Return whether the parser is busy parsing.

Value is true if the XMLParserMBS is currently busy loading a document, otherwise false.
(Read only property)

XMLParserMBS.DOMConfig as XMLConfigurationMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Get a pointer to the XMLConfigurationMBS object used when parsing an input source.
Example

Dim parser As New XMLParserMBS

// configure the parser
Dim DOMConfig As XMLConfigurationMBS = p.DOMConfig
DOMConfig.ElementContentWhitespace=False

// prepare XML input
Dim Input As New XMLInputMBS
Input.InputString = kXML2

// and parse
Var xml1 As XMLDocumentMBS = p.parse(Input)

Break

This XMLConfigurationMBS is specific to the parse operation.
No parameter values from this XMLConfigurationMBS object are passed automatically to the XMLConfigurationMBS object on the XMLDocumentMBS that is created, or used, by the parse operation. The DOM application is responsible for passing any needed parameter values from this XMLConfigurationMBS object to the XMLConfigurationMBS object referenced by the XMLDocumentMBS object.
(Read only property)

XMLParserMBS.Filter as XMLParserFilterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The parse filter.

When the application provides a filter, the parser will call out to the filter at the completion of the construction of each XMLElementMBS node. The filter implementation can choose to remove the element from the document being constructed or to terminate the parse early. The filter is invoked after the operations requested by the XMLConfigurationMBS parameters have been applied. For example, if "validate" is set to true, the validation is done before invoking the filter.

Currently filter can only work in synchronous mode.
(Read and Write property)

XMLParserMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The internal object reference.

(Read only property)

XMLParserMBS.SrcOffset as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
Returns the current src offset within the input source.

(Read only property)

The items on this page are in the following plugins: MBS XML Plugin.


The biggest plugin in space...