ちょ、間違えた。省略しすぎた。。。orz

doc = REXML::Document.new(File.new("open.xml"), "r")
doc.write(File.new("test.xml", "w"), 0)

こんな感じで。