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