title: Write to XML in ruby
body: <p>I am completely new to Ruby. All I want is to produce a simple XML file.</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="ASCII"?&gt;
  &lt;product&gt;
     &lt;name&gt;Test&lt;/name&gt;
  &lt;/product&gt;
  </code></pre>
  
  <p>That's it.</p>