title: How do I convert XML to string and get the element value?
body: <p>How do I convert XML to string and get the element value?</p>
  
  <p><strong>Example XML</strong></p>
  
  <pre><code>&lt;Example&gt;
    &lt;Option1&gt;x&lt;/Option1&gt;
    &lt;Option2&gt;y&lt;/Option2&gt;
    &lt;Option3&gt;z&lt;/Option3&gt;
  &lt;/Example&gt;
  </code></pre>
  
  <p>.</p>
  
  <p>If i wanted to get </p>
  
  <p>option1 it would return x, </p>
  
  <p>option2 returns y, </p>
  
  <p>option3 returns z.</p>
  
  <p>etc....</p>