This post has been migrated from www.experimentsincode.com, we apologise if some of the images or content is missing
    Sitecore.Web.UI.WebControls.XslFile file = new Sitecore.Web.UI.WebControls.XslFile();     file.Path = "/xsl/MyRendering.xslt";     string output = file.RenderAsText();This will give you the output of the rendering as a single string that you can then use for any purpose.One thing that would be really cool would be to create XSLT on the fly and feed it into this XslFile control. If I work this out I will let you know.