title: HashMap and smooks
body: <p><br/>
  I need to transform a Map into xml, and then using smooks convert it back into a Map.
  This map can contain complex values (ex: List), How to achieve that using smooks?<br/>
  ex: <br/></p>
  
  <pre><code>&lt;m:map&gt;
  &lt;entry key="a"&gt; &lt;l:list&gt; &lt;a&gt;a1&lt;/a&gt; &lt;a&gt;a2&lt;/a&gt; &lt;/l:list&gt;&lt;/entry&gt;
  &lt;entry key="b"&gt; &lt;l:list&gt; &lt;b&gt;b1&lt;/b&gt; &lt;b&gt;b2&lt;/b&gt; &lt;/l:list&gt;&lt;/entry&gt;
  &lt;/m:map&gt;
  </code></pre>
  
  <p>where <code>&lt;a&gt;</code> and <code>&lt;b&gt;</code> tags are referring to existing A and B models</p>
  
  <pre><code>class A { String property; }
  class B { String property; }
  </code></pre>
  
  <p>Thanks,</p>