title: How to insert dynamically some attributes in a XML tag with Ruby Builder?
body: <p>I'm generating XML file dynamiquely from database using Ruby Builder (<a href="http://builder.rubyforge.org/" rel="nofollow">http://builder.rubyforge.org/</a>).</p>
  
  <p>To add a Tag which name is in a variable, I found this: 
  xml.tag!(@myTagName)</p>
  
  <p>How to dynamiquelly insert à list of attributes in this Tag ?</p>
  
  <ul>
  <li>I dont know the names of the attributes which are loaded dynamically from database </li>
  <li>I need to create a loop because I dont know how many attributes will be inserted.</li>
  </ul>
  
  <p>Thanks.</p>