lib/rdbxml.rb
# Iterates across each result (as an XmlDocument) in the set
Iterates across each result (as an XmlDocument) in the set
Iterates across each result ( as an XmlDocument ) in the set
def each_doc( &block ) 
    self.reset
    while self.hasNext
      yield self.nextDocument
    end
  end
def each_doc ( & block ) self . reset while self . hasNext yield self . nextDocument end end
Iterates across each result (as an XmlDocument) in the set
Iterates across each result ( as an XmlDocument ) in the set
# :yields: document
block
<not_specific>