class Nokogiri::XML::Reader

def each

Move the cursor through the document yielding the cursor to the block
##
def each
  while cursor = self.read
    yield cursor
  end
end