class Nokogiri::XML::Reader

def each(&block)

def each(&block)
  while node = self.read
    block.call(node)
  end
end