This is a small piece of XSL to display the raw xml from the refinement panel web part. This is useful during debugging and development of refiners. Look for a follow on powershell script that imports an xsl file directly into the refinement panel. Until then, below are the steps to follow for adding this xsl to the refinement web part.

  1. Issue a query from the enterprise search center. (Note: You must make sure you are using the FAST Search page)
  2. Click Site Actions, Edit Page
  3. Click to edit the refinement web part
  4. Choose the XSL Editor button and paste the xsl from this solution. (Note: If you had custom xsl, you may want to save it. Otherwise, you can delete all the xsl from the edit pane and when you click save the web part will automatically insert the default xsl)
  5. Click Apply/OK and click Save

See supporting screen shots below.



<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<xmp><xsl:copy-of select="*"/></xmp>