if so how can we validate the content entered .
fixing code so it is readable.....this is the scrach code that i came up with . <?xml version="1.0" encoding="UTF-8"?><iw_pt name="mobile"><![CDATA[<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN""http://www.wapforum.org/DTD/wml_1.1.xml">]]><wml><card id="card1" title="Survey"><do type="accept" label="Submit"><![CDATA[ <p>Question</p><p><select name="answer"><option value="answer1">sony<option value="answer2">ibm<option value="answer3">dell</select></p>]]><iw_value name='dcr.Question'/><iw_iterate list='dcr.Answer' var='Answer.Possible Answers'><iw_value name='dcr.Answer'/></iw_iterate></card></wml></iw_pt>
... <iw_iterate list='dcr.Answer' var='Answer.Possible Answers'> <iw_value name='dcr.Answer'/> </iw_iterate>
dcr.Answer
The DCTs really do not matter, since they will not be running on a PDA, unless you expect someone to enter in templated content though their PDA.The TPL is what will need to be written specifically for WML. Those will be written the same way you write any TPL. In the easy case, take a sample WML page that works, start replacing the content with the iw_data statements to insert the templated info into the WML.As for viewing, I remember there were some WML simulators out there. There was one that looked like an old Nokia phone. You can have the TPL exec the simulator with the path of the newly generated file to view.Andy