Platforms to show: All Mac Windows Linux Cross-Platform

XMLIterateElementsMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class XML MBS XML Plugin 22.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class for the iterator over elements.
Example

Dim doc As New XMLDocumentMBS("<doc><test id=""1"">abc</test><test id=""2"">def</test></doc>")

For Each e As XMLElementMBS In doc.IterateElementsByTagName("test")
MessageBox e.toString
Next

Used internally for for each loops.

Requires Xojo 2019r2 or newer.

Implements Iterable and Iterator interfaces.

This class is hidden for auto complete as you don't need to use it manually. Please use it using for each loops.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

This class has no sub classes.

Interfaces:

2 interfaces.

Some methods using this class:

Blog Entries

Release notes

  • Version 24.0
    • Added Hidden attribute to JSONIteratorMBS, XMLIterateAttributeNodesMBS, XMLIterateChildNodesMBS, XMLIterateElementsMBS, DynaPDFIteratorMBS and PCRE2IteratorMBS classes to hide it from auto complete. Since you use it via for each loops indirectly, you never need to use these classes directly.

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


XMLIterateChildNodesMBS   -   XMLNodeFilterMBS


💬 Ask a question or report a problem
The biggest plugin in space...