# File lib/dbi/utils/xmlformatter.rb, line 51 def self.table(rows, roottag = "rows", rowtag = "row", output=STDOUT) output << '<?xml version="1.0" encoding="UTF-8" ?>' output << "\n<#{roottag}>\n" rows.each do |row| row(row, rowtag, output) end output << "</#{roottag}>\n" end