I already try this and of course the scope column does not exist in the results XML. Is there a work around to solve this problem without using c# code to execute the search for each scope separately? On Wed, Sep 17, 2008 at 2:22 AM, Darren Neimke <[EMAIL PROTECTED]>wrote:
> 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 > [EMAIL PROTECTED] > > blog: http://neimke.spaces.live.com<http://showusyourcode.spaces.live.com/> > twitter: 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:* [email protected] > *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 -- 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
