building xml data with libxml-ruby rather than nokogiri