NodeIterator

  • Revision slug: DOM/NodeIterator
  • Revision title: NodeIterator
  • Revision id: 134723
  • Created:
  • Creator: Sheppy
  • Is current revision? No
  • Comment 8 words added

Revision Content

Revision Source

<p>{{ DomRef() }}</p>
<p>{{ tx_minversion_header("3") }}</p>
<h3 name="Introduction">Introduction</h3>
<p>The <code>NodeIterator</code> object allows you to iterate over the members of a list of the nodes in a subtree of the DOM, in document order.</p>
<p>A <code>NodeIterator</code> can be created using the <code>createNodeIterator()</code> method of the <a href="/en/DOM/document" title="en/DOM/document">document</a> object.</p>
<h3 name="Properties">Properties</h3>
<dl><dt><a class="internal" href="/en/DOM/nodeIterator.root" title="en/DOM/nodeIterator.root">root</a> </dt><dt><a class="internal" href="/en/DOM/nodeIterator.whatToShow" title="en/DOM/nodeIterator.whatToShow">whatToShow</a> </dt><dt><a class="internal" href="/en/DOM/nodeIterator.filter" title="en/DOM/nodeIterator.filter">filter</a> </dt><dt><a class="internal" href="/en/DOM/nodeIterator.expandEntityReferences" title="en/DOM/nodeIterator.expandEntityReferences">expandEntityReferences</a><br>
</dt><dt><a class="internal" href="/en/DOM/nodeIterator.referenceNode" title="en/DOM/nodeIterator.referenceNode">referenceNode</a><br>
</dt><dt><a class="internal" href="/en/DOM/nodeIterator.pointerBeforeReferenceNode" title="en/DOM/nodeIterator.pointerBeforeReferenceNode">pointerBeforeReferenceNode</a><br>
</dt></dl>
<h3 name="Methods">Methods</h3>
<dl><dt><a class="internal" href="/en/DOM/nodeIterator.nextNode" title="en/DOM/nodeIterator.nextNode">detach</a><br>
</dt><dt><a class="internal" href="/en/DOM/nodeIterator.previousNode" title="en/DOM/nodeIterator.previousNode">previousNode</a> </dt><dt><a class="internal" href="/en/DOM/nodeIterator.nextNode" title="en/DOM/nodeIterator.nextNode">nextNode</a> </dt></dl>
<h3 name="Specification">Specification</h3>
<p><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Iterator-overview" title="http://www.w3.org/TR/DOM-Level-2-Traversal-Range/traversal.html#Iterator-overview">DOM Level 2 Traversal: NodeIterator</a></p>
Revert to this revision