Platforms to show: All Mac Windows Linux Cross-Platform
XMLParserMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Please note that asynchronous mode is not yet supported in MBS Plugin.
- 6 properties
- property Asynchronous as Boolean
- property Busy as Boolean
- property DOMConfig as XMLConfigurationMBS
- property Filter as XMLParserFilterMBS
- property Handle as Integer
- property SrcOffset as Int64
- 9 methods
- method abort
- method Constructor(Asynchronous as Boolean = false, schemaType as string = "")
- method parse(inputSource as XMLInputMBS) as XMLDocumentMBS
- method parseFile(file as FolderItem) as XMLDocumentMBS
- method parseURI(URI as String) as XMLDocumentMBS
- method parseWithContext(inputSource as XMLInputMBS, contextNode as XMLNodeMBS, Action as Integer) as XMLNodeMBS
- method resetCachedGrammarPool
- method resetDocumentPool
- method URIText(ID as Integer) as String
- 5 constants
Actions
Constant | Value | Description |
---|---|---|
ActionAppendAsChildren | 1 |
Append the result of the parse operation as children of the context node. For this action to work, the context node must be a XMLElementMBS or a XMLDocumentFragmentMBS. |
ActionInsertAfter | 4 |
Insert the result of the parse operation as the immediately following sibling of the context node. For this action to work the context node's parent must be a XMLElementMBS or a XMLDocumentFragmentMBS. |
ActionInsertBefore | 3 |
Insert the result of the parse operation as the immediately preceding sibling of the context node. For this action to work the context node's parent must be a XMLElementMBS or a XMLDocumentFragmentMBS. |
ActionReplace | 5 |
Replace the context node with the result of the parse operation. For this action to work, the context node must have a parent, and the parent must be a XMLElementMBS or a XMLDocumentFragmentMBS. |
ActionReplaceChildren | 2 |
Replace all the children of the context node with the result of the parse operation. For this action to work, the context node must be a XMLElementMBS, a XMLDocumentMBS, or a XMLDocumentFragmentMBS. |
This class has no sub classes.
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS XML Plugin.
XMLParserFilterMBS - XMLProcessingInstructionMBS