Platforms to show: All Mac Windows Linux Cross-Platform
XMLTreeWalkerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | XML | MBS XML Plugin | 22.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Notes:
XMLTreeWalkerMBS objects are used to navigate a document tree or subtree using the view of the document defined by their whatToShow flags and filter (if any). Any function which performs navigation using a XMLTreeWalkerMBS will automatically support any view defined by a XMLTreeWalkerMBS.
Omitting nodes from the logical view of a subtree can result in a structure that is substantially different from the same subtree in the complete, unfiltered document. Nodes that are siblings in the XMLTreeWalkerMBS view may be children of different, widely separated nodes in the original view. For instance, consider a XMLNodeFilterMBS that skips all nodes except for XMLTextMBS nodes and the root node of a document. In the logical view that results, all text nodes will be siblings and appear as direct children of the root node, no matter how deeply nested the structure of the original document.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 7 properties
- property CurrentNode as XMLNodeMBS
- property Document as XMLDocumentMBS
- property ExpandEntityReferences as Boolean
- property Filter as XMLNodeFilterMBS
- property Handle as Integer
- property Root as XMLNodeMBS
- property WhatToShow as Integer
- 8 methods
- method Constructor Private
- method firstChild as XMLNodeMBS
- method lastChild as XMLNodeMBS
- method nextNode as XMLNodeMBS
- method nextSibling as XMLNodeMBS
- method ParentNode as XMLNodeMBS
- method previousNode as XMLNodeMBS
- method previousSibling as XMLNodeMBS
This class has no sub classes.
Some methods using this class:
- XMLDocumentMBS.createTreeWalker(root as XMLNodeMBS = nil, whatToShow as Integer = &hFFFF, entityReferenceExpansion as boolean = false, filter as XMLNodeFilterMBS = nil) as XMLTreeWalkerMBS
Blog Entries
Xojo Developer Magazine
The items on this page are in the following plugins: MBS XML Plugin.
