score:0

Accepted answer

this helps me.

@(body:String)
@import java.lang.String; var twiml=""
@{twiml="<Response><Say voice="alice">"+body+"</Say></Response>"}
@scala.xml.XML.loadString(twiml)

actually this was invalid

</Say><Pause><Say>3</Say><Pause><Say>1

thats why@scala.xml.XML.loadString(body) is not helping me


Related Query

More Query from same tag