Hi,I have a question for you. You suggested me that my tpl problem can be solved with XML also. I looked into doc, but I could not find anything related to it.Can you give me some pointer where I should look, to solve my problem.I am also attaching my DCT and TPL code.thanks,Priyank.
<container name='Section_Type' combination='or' location='Section_Type' refid="Section_Type"> <item name="Paragraph_Body"> <label>Paragraph</label> <description>Enter Paragraph here.</description> <textarea .../> </item></container>
<iw_iterate list='sectionCounter.Section_Type.*' var='item'> <iw_ifcase name='item'> <iw_case type='Paragraph'> <iw_if expr="{iw_value name='sectionCounter.Section_Type.Paragraph'}"> <iw_then> <iw_perl><![CDATA[ $stripped_para = strip_p_tag(iwpt_dcr_value("sectionCounter.Section_Type.Paragraph")); ]]></iw_perl> <![CDATA[<p>]]> <iw_value name="$stripped_para"/> <![CDATA[</p>]]> </iw_then> </iw_if> </iw_case> <!-- ... --> </iw_ifcase></iw_iterate>
I am attaching the file with only that part when I have problem. I put a comment (i don't know) there.