I have the following question:
I'm modifying the XSLT of the search, so it is represented differently etc etc .. in this occasion I also need to get a relative site collection url.
In managed property i found a property SPSiteUrl, but adding it to properties for the xslt didn't help, as i got an error "inconsistent use of schema" etc etc, so how with other words can I retrieve the site collection relative url?
Because else i cannot know the relative url anyhow ...
OR if i'm in search, and i have the direct url to an item, how can i then by javascript decide which is the part of site collection url?
Any suggestions?