title: Retrieving Value of an XElement where value is <![CDATA[12345]]>
body: <p>If i have the following xml element:</p>
  
  <pre><code> &lt;TEST&gt;&lt;![CDATA[12345]]&gt;&lt;/TEST&gt;
  </code></pre>
  
  <p>I'm trying to extract the value of a <code>&lt;TEST&gt;</code> xml element using below code:</p>
  
  <pre><code>  XElement elem = documet.XPathSelectElement(xpath_to_TEST); //xpath_to_TEST is the actual xpath to that element
    var value = elem.value //value of &lt;TEST&gt;
  </code></pre>
  
  <p>The problem with code above is that <code>value</code> variable contains <code>12345</code> where i want to get whole value of <code>&lt;TEST&gt;</code> as string including CDATA markups like <code>&lt;![CDATA[12345]]&gt;</code>.</p>
  
  <p>Is this possible?</p>