XMLElementIterator
-
- UpdatedJan 30, 2025
- 1 minute read
- Yokohama
- Edge Encryption
Provides methods for iterating over XML elements.
You get an XMLElementIterator object by calling the getIterator() method of the XMLContent class.
XMLElementIterator - hasNext()
Determines if there is another element available.
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
Boolean | True if another element is available. |
XMLElementIterator - next()
Returns the next element in the iterator.
You cannot call next() without first calling hasNext().
Name | Type | Description |
---|---|---|
None |
Type | Description |
---|---|
XMLElement | The next XML element. |