I’m not sure that the ‘out of the box’ Search Result data returns the scope in 
its result list?  If you change the XSLT for the Search Result Web Part to the 
following (Make sure that you save the old XSLT before you make this change so 
that you can change it back afterwards J):

 

<?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>

 

And then run a Search, you should see what XML you have to deal with.  If the 
scope field is in there, then you are in business.

 

 

Kind Regards,
 
Darren Neimke
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 
 
blog:  <http://showusyourcode.spaces.live.com> http://neimke.spaces.live.com 
twitter:  <http://twitter.com/digory> http://twitter.com/digory 
mob: 0439 855 046

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meir Dahan
Sent: Tuesday, 16 September 2008 9:27 PM
To: listserver@ozmoss.com
Subject: [OzMOSS] How to group the search results by scope in CoreSearchResults 
?

 

Using xsl.

-- 
Meir Dahan 
Mobile: +972-52-8316814
Email: [EMAIL PROTECTED]

------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.
Powered by mailenable.com 




------------------------------------------------------------------- OzMOSS.com 
- to unsubscribe from this list, send a message back to the list with 
'unsubscribe' as the subject.

Powered by mailenable.com

Reply via email to