How about using CDATA? Like this:<div><br></div><div><font face="&#39;courier new&#39;, monospace" size="1">&lt;action application=&quot;set&quot;&gt;&lt;!CDATA[args=&lt;voice emotion=&quot;calm&quot;&gt;&lt;emphasis&gt;This</font></div>
<div><font face="&#39;courier new&#39;, monospace" size="1">is to test our text-to-speech system.&lt;/emphasis&gt;&lt;/voice&gt;]]&lt;/action&gt;</font></div><div><font face="&#39;courier new&#39;, monospace" size="1">&lt;action application=&quot;speak&quot; data=&quot;${args}&quot;/&gt;</font></div>
<div><br></div><div>That&#39;s just off the top of my head so please tinker with it if it doesn&#39;t work on the first try.</div><div><br></div><div>-MC</div><div><br><div class="gmail_quote">On Thu, Dec 15, 2011 at 6:55 AM, x.liu <span dir="ltr">&lt;<a href="mailto:x.liu@hw.ac.uk" target="_blank">x.liu@hw.ac.uk</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I&#39;d like to add SSML tag to my TTS string. I am sure my TTS server<br>
supports these tags.<br>
<br>
In this example,<br>
<br>
&lt;action application=&quot;speak&quot; data=&quot;&lt;voice emotion=&quot;calm&quot;&gt;&lt;emphasis&gt;This<br>
is to test our text-to-speech system. &lt;/emphasis&gt;&lt;/voice&gt;&quot;/&gt;<br>
<br>
Whether I use &lt;voice emotion=&quot;calm&quot;&gt; or &lt;voice emotion=\&quot;calm\&quot;&gt;<br>
FS complains:  unexpected closing tag &lt;/voice&gt;<br>
<br>
If I use single quote like &lt;voice emotion=&#39;calm&#39;&gt;, FS starts ok but TTS<br>
will read out the string of<br>
&lt;voice emotion=&#39;calm&#39;&gt;<br>
<br>
And I notice that this string is still read out even if it is passed as<br>
double quoted ( &lt;voice emotion=&quot;calm&quot;&gt; ) through my ESL app.<br>
<br>
Any advices for using SSML in unimrcp TTS string?<br>
<br>
Many thanks!<br>
<br>
Xing<br>
<br>
<br>
<br>
--<br>
Heriot-Watt University is a Scottish charity<br>
registered under charity number SC000278.<br>
<br>
Heriot-Watt University is the Sunday Times<br>
Scottish University of the Year 2011-2012<br>
<br>
<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br></div>