SharePoint search core results web part

The search core results web part in SharePoint Enterprise Search is able to show raw xml with a simple piece of xslt. See here how to.

Developing a custom xslt for the search core results web part can be hard. It’s very helpfull to have xml to test it on. To view the raw xml use this xsl in SharePoint Enterprise Search.

<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" >
  <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" />
  <xsl:template match="/">
 <xmp><xsl:copy-of select="*"/></xmp>
 </xsl:template>
</xsl:stylesheet>
Share:
To Blog