Ever wanted to create your own search result page ? Just to have a layout that looks better, or more tailored to your clients needs.
So where do you start ? Well, the code in this blog will show you what xml fields are passed through, so you can xsl-your way around them. Be sure to check out the links below, they contain some great help in order to do that via dataviews in SPD!
Code to show the XML file
<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>
Save that xml on a page in your site. Next, you can create a new SharePoint via SharePoint Designer. Put a dataview to that xml file and you can start designing. If you are done designing, you can go in the code, select everything between tags, and paste it in the search results page display settings xsl.
More info here: