title: asp.net: load aspx file server side
body: <p>I have some aspx pages that dynamically generate xml (from backcode).
  I want to load that xml to a XmlDocument on another page (server side).</p>
  
  <p>But using XmlDocument.load(MapPath(path)) only loads text from file, backcode is not interpreted. Is there any way to load aspx page on the server as it would be viewed from the client?</p>
  
  <p>Edit: problem is that when loaded by XmlDocument.load(MapPath(path)) backcode is not interpreted. I resolved this by just coping code that created the xml - but maybe there is some way to get aspx page on server the way it is viewed in client?</p>