title: Loading a Resource file with XElement
body: <p>I'm trying to load an XML file that is an embedded resource.</p>
  
  <p>I'm using the code below and it's returning an error saying the URI is too long.</p>
  
  <pre><code>base.document = XElement.Load(RStudio.Properties.Resources.TemplateDOC);
  </code></pre>
  
  <p>Any idea what may be wrong? I'm working with .net Framework 3.5.</p>
  
  <p>Any help is welcome! Thanks in advance</p>