title: Dynamically generate aspx pages based on xml content files and a master page
body: <p>I want to develop a web application with a master page containing an <code>&lt;asp:Xml /&gt;</code> control for rendering xhtml content stored in xml files.</p>
  
  <p>I can do this easily enough by creating a WebContent aspx page per xml file, but what I want to know is how to go about developing a single request handler which will detect a request for a page e.g. www.mysite.com/HomePage.aspx then generate a page based on the master page and assume that a corresponding xml content file exists (e.g. HomePage.xml).</p>