.net - How to use freemarker in C# -
i have scenario have use existing freemarker templates used in java application new .net application. searched on web , got freemarker.net equivalent uses ikvm wrapper , formatting of templates here. problem here there around 5 million templates need pull database , contain placeholders have different syntax in .net. example in .net have
<#list sequence item> part repeated each item
in existing java template have
<list sequence item> part repeated each item </list>
the problem need change existing 5 million templates based on freemarker .net version using, not seems feasible solution. need find solution can use same templates without of change. sample template have convert is
dear ${name}, <if account_type_id=="some id">some content. <else>some content. </if>
i have change
dear ${name}, <#if account_type_id=="some id">some content. <#else>some content. <#/if>
in same way there many markups need changed.
Comments
Post a Comment