5 Replies Latest reply on Feb 2, 2011 5:15 PM by Tom Fennelly

    Transform issue

    bglasco1 Newbie

      I am doing a transform with smooks freemarker. It seems to work fine with the major exception that it does not iterate the data. I send through an xml file with 4 items to transform. It returns 4 items but all with the same data as the first item. Am I missing something?

       

      <ftl:freemarker applyOnElement="programme">

          <ftl:template><![CDATA[ 

           <programme ppv='No' trick-play-restricted=''  channel='${.vars["tv"]["programme/LINEUP_ID"]}'>

          </programme> 

      ]]></ftl:template>

       

      result should be 66, 67, 68, 69:

       

      [Stream Templating Result ...]

          |--

          |<tv>

          |    

          |     <programme ppv='No' trick-play-restricted=''  channel='66'>

          |    </programme> 

          |

          |    

          |     <programme ppv='No' trick-play-restricted=''  channel='66'>

          |    </programme> 

          |

          |       

          |     <programme ppv='No' trick-play-restricted=''  channel='66'>

          |    </programme> 

          |

          |       

          |     <programme ppv='No' trick-play-restricted=''  channel='66'>

          |    </programme> 

          |

          |   </tv>

          |--