Non-recursive traversal of a DOM tree


Version: 1.2
Category:
Scripts
Python
Requirements:
Seller:
Price:
-
System:
Rating:
4.8
License:

Description - Non-recursive traversal of a DOM tree



A methode to traverse a tree (or the rest of a tree starting from a node with unkown position) depth-first without recursion and without mandatorily keeping track of the position of the current node; requires each node to have reference acess to its parent, first child and next sibling, therefore especially suitable for DOM trees.



More in Python-Non-recursive traversal of a DOM tree

Recursive Recursive Traversal Non Recursive Traversal