|class||XML||MBS XML Plugin||22.4||✅ Yes||✅ Yes||✅ Yes||✅ Yes||All|
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
- 8 methods
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
Xojo Developer Magazine
The items on this page are in the following plugins: MBS XML Plugin.