Iterates through a set of Document nodes.
Browser/User Agent Support
| IE | Mozilla | Netscape | Opera | Safari | Netscapte | no | 1.0+ | 7.0+ | no | no | no |
|---|
Constructors
| Constructor | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Iterates through a set of Document nodes. | no | 1.0+ | 7.0+ | no | no | no |
Properties
| Property | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
If true, indicates that the NodeIterator traverses the children of EntityReference nodes. | no | 1.0+ | 7.0+ | no | no | no |
Node filter function associated with the NodeIterator. | no | 1.0+ | 7.0+ | no | no | no |
Root node for the NodeIterator to start iterating with. | no | 1.0+ | 7.0+ | no | no | no |
Set of flags specifying which nodes to include in the node filter. | no | 1.0+ | 7.0+ | no | no | no |
Methods
| Method | IE | Mozilla | Netscape | Opera | Safari | Netscapte |
|---|---|---|---|---|---|---|
Detaches the NodeIterator from the document. | no | 1.0+ | 7.0+ | no | no | no |
Returns the next node in the filtered set of nodes. | no | 1.0+ | 7.0+ | no | no | no |
Returns the previous node in the filtered set of nodes. | no | 1.0+ | 7.0+ | no | no | no |
References
Availability
W3C | HTML DOM Level 2
Constructor Detail
Property Detail
Boolean expandEntityReferences - read only
If true, indicates that the NodeIterator traverses the children of EntityReference nodes.
- Availability
HTML DOM Level 2 | W3C
NodeFilter filter - read only
Node filter function associated with the NodeIterator.
- Availability
HTML DOM Level 2 | W3C
Node root - read only
Root node for the NodeIterator to start iterating with.
- Availability
HTML DOM Level 2 | W3C
Number whatToShow - read only
Set of flags specifying which nodes to include in the node filter.
- Availability
HTML DOM Level 2 | W3C
Method Detail
detach() : void
Detaches the NodeIterator from the document.
- Availability
HTML DOM Level 2 | W3C
nextNode() : static Node
Returns the next node in the filtered set of nodes.
- Availability
HTML DOM Level 2 | W3C
previousNode() : static Node
Returns the previous node in the filtered set of nodes.
- Availability
HTML DOM Level 2 | W3C
