Ruby/XML failo nuskaitymas ir parsinimas

require "rexml/document"
doc = REXML::Document.new File.new("document.xml")
puts doc