title: C# - XML - Treat inner xml from a certain element as string
body: <p>I have the following XML:</p>
  
  <pre><code>&lt;Plan&gt;
  &lt;Error&gt;0&lt;/Error&gt;
  &lt;Description&gt;1&lt;/Description&gt;
  &lt;Document&gt;
    &lt;ObjectID&gt;06098INF1761320&lt;/ObjectID&gt;
    &lt;ced&gt;109340336&lt;/ced&gt;
    &lt;abstract&gt;DAVID STEVENSON&lt;/abstract&gt;
    &lt;ced_a /&gt;
    &lt;NAM_REC /&gt;
    &lt;ced_ap2 /&gt;
  &lt;/Document&gt;
  &lt;/Plan&gt;
  </code></pre>
  
  <p>I deserialize it with this:</p>
  
  <pre><code>[XmlRoot("Plan")]
      public class EPlan
      {
          [XmlElement("Error")]
          public string Error { get; set; }
  
          [XmlElement("Description")]
          public string Description { get; set; }
  
          [XmlElement("Document")]
          public List&lt;EDocument&gt; Documents { get; set; }
      }
  
      public class EDocument
      {
          [XmlText]    
          public string Document { get; set; }   
      }
  </code></pre>
  
  <p>The issue is that I want the element "Document" to contain its inner XML as a single string, I mean, the object should have these values:</p>
  
  <pre><code>obj.Error = "0";
  obj.Description = "1";
  obj.Documents[0].Document = "&lt;ObjectID&gt;06098INF1761320&lt;/ObjectID&gt;&lt;ced&gt;109340336&lt;/ced&gt;&lt;abstract&gt;DAVID STEVENSON&lt;/abstract&gt;&lt;ced_a /&gt;&lt;NAM_REC /&gt;&lt;ced_ap2 /&gt;";
  </code></pre>
  
  <p>But the way I mentioned before keeps retrieving a NULL "Document" property. </p>
  
  <p>Is it possible to achieve the behaviour I want? Any help would be appreciated. </p>