
## iterate_next {#}

Iterates and returns the next node from the node set or `null` if there are no more nodes.


### Returns 


Returns the next node.


```python
def iterate_next(self):
    ...
```


### Exceptions
| Exception | Description |
| :- | :- |
| [`DOMException`](/html/python-net/aspose.html.dom/domexception) | TYPE_ERR: raised if `resultType` is not <br/>`UnorderedNodeIterator` type or `OrderedNodeIterator` type. |
| [`DOMException`](/html/python-net/aspose.html.dom/domexception) | INVALID_STATE_ERR: The document has been mutated <br/>since the result was returned. |





### See Also
* module [`aspose.html.dom.xpath`](../../)
* class [`DOMException`](/html/python-net/aspose.html.dom/domexception)
* class [`IXPathResult`](/html/python-net/aspose.html.dom.xpath/ixpathresult)
