title: How to use variables defined with assign in list elements in freemarker
body: <p>i have a freemarker problem. I have one hash map called nodes and i iterate trough it like this:</p>
  
  <pre><code>&lt;#list hashmap.collection as nodes&gt;
   .....some displaying
   &lt;#assign nodeName&gt;
  ${nodes.name}
   &lt;/#assign&gt;
     &lt;#list hashmap2.nodeName.collection as nodes2&gt;
      .......some more displaying
  </code></pre>
  
  <p>And this code is not because freemarker is trying to find nodeName key inside the hashmap2... 
  Is there a way to do this in freemarker?</p>
  
  <p>Thanks for your answers!</p>