# File lib/ruote/reader.rb, line 142 def self.to_xml(tree, options={}) s = StringIO.new s.puts('<?xml version="1.0" encoding="UTF-8"?>') _to_xml(tree, options[:indent], 0, s) s.string end