title: Freemarker get element from list
body: <p>I am doing teplate which i will use in Smooks conversion. I need to get f.e. 2nd element of the list in freemarker but i have no idea how to do it. There is fragment of my code in freemarker template.</p>
  
  <pre><code>&lt;#list partnerList as PARTNER&gt;
      ${PARTNER.partnrid}
      ${PARTNER.name}
  &lt;/#list&gt;
  </code></pre>
  
  <p>and there is java class:</p>
  
  <pre><code>public class Partner {
      private String PARTNRID;
      private String NAME;
  
    public String getPartnrid() {
    return PARTNRID;
   }
   public void setPARTNRID(String PARTNRID) {
    this.PARTNRID = PARTNRID;
   }
   public String getName() {
    return NAME;
   }
   public void setNAME(String NAME) {
    this.NAME = NAME;
   }
  }
  </code></pre>
  
  <p>As i said before i need ONLY 2nd element. I want to avoid printing the rest items.
  Thanks!</p>