# File lib/xtemplate/xml.rb, line 342 def parse(io) REXML::Document.parse_stream(io, @listener) @listener.root end