XMLElementIterator

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.

Table 1. Parameters
Name Type Description
None
Table 2. Returns
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().

Table 3. Parameters
Name Type Description
None
Table 4. Returns
Type Description
XMLElement The next XML element.