A depth-first walker for manipulating an arbitrary DOM tree.