Invalid xml with ssml in C# -


i having hard time trying figure out how xml invalid ssml code within c#.

here line of code in c#:

  synth.speakssml("<speak version=\"1.0\" xmlns=\"http://www.w3.org/2001/10/synthesis\" xml:lang=\"en-us\">< voice gender=\"male\" age=\"15\" xml:lang=\"en-us\"><prosody contour=\"(0%,+20hz) (25%,+20hz) (50%,+20hz) (75%,+20hz)\" volume=\"100\">" + + "</prosody></voice></speak>"); 

and ssml:

<speak version="1.0" xmlns="http://www.w3.org/2001/10/synthesis" xml:lang="en-us">     < voice gender="male" age="15" xml:lang="en-us">         <prosody contour="(0%,+20hz) (25%,+20hz) (50%,+20hz) (75%,+20hz)" volume="100">               text      </prosody></voice></speak> 

thank you!

i figured out! there space in voice tag!


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -