The TreeWalker object represents the nodes of a document subtree and a position within them. A TreeWalker can be created using the Document.createTreeWalker() method. This interface doesn't inherit any property. TreeWalker.root Read only Returns a Node representing the root node as specified when the TreeWalker was created. TreeWalker.whatToShow Read only Returns an unsigned long being a bitmask m