title: XSAMPA phonetic emphasis specification in Android
body: <p>Thanks to <a href="https://groups.google.com/d/topic/tts-for-android/7hlAudBRfUU/discussion" rel="nofollow noreferrer">this post</a> (referenced in <a href="https://stackoverflow.com/questions/3495301/best-practice-for-specifying-pronunciation-for-android-tts-engine">this</a> question) regarding the specification of phonetics, I'm able to use XSAMPA in the TTS engine. However, how am I to specify the <a href="http://en.wikipedia.org/wiki/X-SAMPA#Other_symbols" rel="nofollow noreferrer">Primary Stress character</a> (double-quote, i.e. ") in the XML? </p>
  
  <p>Sending XML like the following will end up not speaking anything, presumably because of the second (premature) occurrence of the double-quote character when specifying the ph= value:</p>
  
  <pre><code>"&lt;speak xml:lang=\"en-US\"&gt; &lt;phoneme alphabet=\"xsampa\" ph=\"\"sE.v@n.ti \"wVn\"/&gt;.&lt;/speak&gt;"
  </code></pre>
  
  <p>Am I to just forget about the primary stress character because of the way the XML is specified, or is there a workaround?</p>