I am having issues with the following scenario: my vxml has the following snippet:
<block>
<script src="myscript.es"/>
<audio> <value expr="temp()"/> </audio>
<exit/>
</block>
myscript.es:
function temp(){
var delay = new String("abc <break time='2000ms'/> pqr");
return delay;
}
The evaluated expression is not being treated as a tag rather as follows: addd <break time='2000ms'/> bbb
Is there a way to generate a tag dynamically from ecmascript expression?