require 'rexml/document'
include REXML

remarks = {
  %q(April)         => %q(Bubbly: I'm > Tam and <= Emily),
 %q(Tam O'Shanter) => %q(Burns: ),
  %q(Emily)         => %q(Short & shrift),
}

doc = Document.new
root = doc.add_element()

remarks.each do |name, remark|
  root.add_element(, {'Name' => name}).add_text(remark)
end


doc.write($stdout, 2)