SharePoint

SharePoint search core results web part

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 this

Leave a Reply

Your email address will not be published. Required fields are marked *