title: Intercept Rendered HTML / Runtime HTML for Pages in Sitecore
body: <p>Currently, I'm looking to create a page hierarchy outside of the main 'content' sections as to keep it separate from other sections and to keep it with all other cross site data. I'm able to assign layouts, sublayouts, and get content back in the way that I would like to.</p>
  
  <p>However, I need the content as XHTML (very simple XHTML currently) to push it through iTextSharp &amp; Html Tidy or equivalent. Is there a pipeline or event that I would be able to hook so that I could either get most of the page or all of the page response?</p>
  
  <p>I noticed the <code>Sitecore.Layouts</code> namespace includes <code>Converter</code>, <code>DesignTimeHtml</code>, and <code>RuntimeHtml</code>, the latter of which references the <code>convertToRuntimeHtml</code> pipeline, which seems to pass around an HtmlDocument.  These seem to be pipelines relating to the WYSIWYG editor though.</p>
  
  <p>If nothing as such exists, would finding all the controls on the page and then rendering them out come close to what Sitecore would render?</p>