<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dom Cosgrove Blog &#187; Search</title>
	<atom:link href="http://blog.domcosgrove.com/tag/search/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.domcosgrove.com</link>
	<description>Dom&#039;s views on the SharePoint World</description>
	<lastBuildDate>Wed, 17 Mar 2010 11:53:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>View Raw XML from SharePoint Search Results</title>
		<link>http://blog.domcosgrove.com/view-raw-xml-from-sharepoint-search-results/</link>
		<comments>http://blog.domcosgrove.com/view-raw-xml-from-sharepoint-search-results/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 08:26:58 +0000</pubDate>
		<dc:creator>Dominick Cosgrove</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[XSLT]]></category>

		<guid isPermaLink="false">http://blog.domcosgrove.com/?p=34</guid>
		<description><![CDATA[It is often useful to view the Raw XML of the SharePoint Search Results. This is easily achieved by  modifying the XSLT that is used to render the results. The following details the steps:
Navigate to the Advanced Search Page;
Perform a search to return some search results;
Edit the page (Site Settings &#124; Edit Page);
Edit the [...]]]></description>
			<content:encoded><![CDATA[<p>It is often useful to view the Raw XML of the SharePoint Search Results. This is easily achieved by  modifying the XSLT that is used to render the results. The following details the steps:</p>
<p>Navigate to the Advanced Search Page;<br />
Perform a search to return some search results;<br />
Edit the page (Site Settings | Edit Page);<br />
Edit the Search Core Results WebPart (Edit | Modify Shared WebPart);<br />
Under the Data View Properties click the XSL Editor button;<br />
Select all the XSL and save it somewhere to back up the default XSL;<br />
Clear the content of the editor and enter the following XSL:<br />
<?xml version="1.0" encoding="utf-8"?><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></p>
<p>Save the changes; </p>
<p>Apply the changes to the Web Part and Click OK; </p>
<p>You will now see that the format of the results has changed. View the source of the page to reveal the raw XML. </p>
<p>This is nothing new, but is very used full to get the Raw XML so you can then open your favorite XSLT editor and generate some nice formatting for your search results.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.domcosgrove.com/view-raw-xml-from-sharepoint-search-results/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
