XPath::AxisIterator
# File lib/xml/xpath.rb, line 2613 def each(node, visitor) stack = visitor.visit(node).children.reverse while node = stack.pop i = visitor.visit(node) stack.concat i.children.reverse yield i end end