
## create_node_iterator {#aspose.svg.dom.Node}

Create a new NodeIterator over the subtree rooted at the
specified node.


### Returns 


The newly created NodeIterator.


```python
def create_node_iterator(self, root):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| root | [`Node`](/svg/python-net/aspose.svg.dom/node) | node which will be iterated together with its children.<br/>The iterator is initially positioned just before this node. The<br/>whatToShow flags and the filter, if any, are not<br/>considered when setting this position. The root must not be<br/>null. |
### Exceptions
| Exception | Description |
| :- | :- |
| [`DOMException`](/svg/python-net/aspose.svg.dom/domexception) | NOT_SUPPORTED_ERR: Raised if the specified root is<br/>null. |




## create_node_iterator {#aspose.svg.dom.Node-int}

Create a new NodeIterator over the subtree rooted at the
specified node.


### Returns 


The newly created NodeIterator.


```python
def create_node_iterator(self, root, what_to_show):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| root | [`Node`](/svg/python-net/aspose.svg.dom/node) | node which will be iterated together with its children.<br/>The iterator is initially positioned just before this node. The<br/>whatToShow flags and the filter, if any, are not<br/>considered when setting this position. The root must not be<br/>null. |
| what_to_show | int | flag specifies which node types may appear in<br/>the logical view of the tree presented by the iterator. See the<br/>description of NodeFilter for the set of possible<br/>SHOW_ values.These flags can be combined using<br/>OR. |
### Exceptions
| Exception | Description |
| :- | :- |
| [`DOMException`](/svg/python-net/aspose.svg.dom/domexception) | NOT_SUPPORTED_ERR: Raised if the specified root is<br/>null. |




## create_node_iterator {#aspose.svg.dom.Node-int-aspose.svg.dom.traversal.INodeFilter}

Create a new NodeIterator over the subtree rooted at the
specified node.


### Returns 


The newly created NodeIterator.


```python
def create_node_iterator(self, root, what_to_show, filter):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| root | [`Node`](/svg/python-net/aspose.svg.dom/node) | node which will be iterated together with its children.<br/>The iterator is initially positioned just before this node. The<br/>whatToShow flags and the filter, if any, are not<br/>considered when setting this position. The root must not be<br/>null. |
| what_to_show | int | flag specifies which node types may appear in<br/>the logical view of the tree presented by the iterator. See the<br/>description of NodeFilter for the set of possible<br/>SHOW_ values.These flags can be combined using<br/>OR. |
| filter | aspose.svg.dom.traversal.INodeFilter | NodeFilter to be used with this<br/>TreeWalker, or null to indicate no filter. |
### Exceptions
| Exception | Description |
| :- | :- |
| [`DOMException`](/svg/python-net/aspose.svg.dom/domexception) | NOT_SUPPORTED_ERR: Raised if the specified root is<br/>null. |





### See Also
* module [`aspose.svg.dom`](../../)
* class [`DOMException`](/svg/python-net/aspose.svg.dom/domexception)
* class [`Document`](/svg/python-net/aspose.svg.dom/document)
* class [`INodeIterator`](/svg/python-net/aspose.svg.dom.traversal/inodeiterator)
