1 Reply Latest reply on Apr 10, 2009 7:56 AM by ama1

    Smooks + Freemarker: building tree structure

    ama1

      Hi,
      I am using smooks with a virtual model, which is made of a map with an element childs, which contains a list of maps.

      Those maps are my with smooks binded java beans.

      Now I want to create a xml output like this:

      <abc>
       <.../>
       <childs>
       <abc>
       <.../>
       <childs>
       and so on
       </childs>
       </childs>
      </abc>
      


      Unfortunatley I was not able to build up some recusive construct with freemarker. I try with the macros but that didn't work.
      Does anyone has an idea how to solve this?
      A confirmation that tree structures are not possible with smooks+freemarker would help also.

      Thanks a lot,
      Patrick