ZVON > References > DOM2 Reference

DocumentTraversal (interface )


Own properties:
attributes  -  none
methods  -  createNodeIterator, createTreeWalker

Description:
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.