IDocumentTraversal Interface
DocumentTraversal contains methods that create iterators and tree-walkers to traverse a node and its children in document order (depth first, pre-order traversal, which is equivalent to the order in which the start tags occur in the text representation of the document). In DOMs which support the Traversal feature, DocumentTraversal will be implemented by the same objects that implement the Document interface.

See also the Document object Model (DOM) Level 2 Traversal and Range Specification. @since DOM Level 2

Namespace: Aspose.Html.Dom.Traversal
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public interface IDocumentTraversal
Methods
  NameDescription
Public methodCreateNodeIterator(Node)
Create a new NodeIterator over the subtree rooted at the specified node.
Public methodCreateNodeIterator(Node, Int64)
Create a new NodeIterator over the subtree rooted at the specified node.
Public methodCreateNodeIterator(Node, Int64, INodeFilter)
Create a new NodeIterator over the subtree rooted at the specified node.
Public methodCreateTreeWalker(Node)
Create a new TreeWalker over the subtree rooted at the specified node.
Public methodCreateTreeWalker(Node, Int64)
Create a new TreeWalker over the subtree rooted at the specified node.
Public methodCreateTreeWalker(Node, Int64, INodeFilter)
Create a new TreeWalker over the subtree rooted at the specified node.
See Also