title: Getting XDocument to recognize embedded SSML
body: <p>I am using text to speech to add voice to a video tutorial. Currently all the text is in a file and is read into a C# application and parsed into multiple steps. What I would like to do is add ssml to the text file, specifically, the ability to  (pause) throughout a specific instruction.  I am using example code from <a href="https://github.com/Azure-Samples/Cognitive-Speech-TTS" rel="nofollow noreferrer">Cognitive-Speech-TTS</a>. This code uses a nice clean approach of </p>
  
  <pre><code>private string GenerateSsml(string locale, string gender, string name, string text)
      {
          var ssmlDoc = new XDocument(
                            new XElement("speak",
                                new XAttribute("version", "1.0"),
                                new XAttribute(XNamespace.Xml + "lang", "en-US"),
                                new XElement("voice",
                                    new XAttribute(XNamespace.Xml + "lang", locale),
                                    new XAttribute(XNamespace.Xml + "gender", gender),
                                    new XAttribute("name", name),
                                    text)));
  
  
          return ssmlDoc.ToString();
      }
  </code></pre>
  
  <p>As an example if I set "text" to be    </p>
  
  <pre><code>string text = @"During this video we will refer to this as the lens, 
                  &lt;break time=""1000ms"" /&gt;  this as the headband  
                   &lt;break time=""1000ms"" /&gt;, and these as the frame arms 
                  &lt;break time=""1000ms"" /&gt;. " };
  Content = new StringContent(GenerateSsml(inputOptions.Locale, genderValue, inputOptions.VoiceName, text))
  </code></pre>
  
  <p>It will not recognize the embedded xml. Is there a way to get the XDocument to recognize the xml in text. Note that in the actual application text is being populated from a data file. </p>