Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Out-of-the-box, the Search Core Results web part only supports XSLT 1.0. The last thing I read from Chris Lovett on the MS XML team is that Microsoft don't have plans for XSLT 2.0. This makes the possibilities limiting at times!

Is there any way to use a custom library such as EXSLT within this web part to enhance transforms with regular expressions and other functionality?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

I have previously had to inline the custom libraries functions into an xslt file hosted in SharePoint and linked to the xslt property in the webpart (I prefer linking to a file over adding the xslt in directly).

Linking libraries seems to produce a security issue and you are certainly not allowed to reference C# functions in the xslt.

In cases where I have more advanced functions required from any xslt rendering, I have resorted to creating a custom webpart.

share|improve this answer
    
After looking at this for some time, I think a custom web part is the only option. Thanks Nat. –  Alex Angas Nov 16 '09 at 15:44
add comment

The problem here is on the browser side, since XSLT 2.0 is not supported in IE8.

I wish I could provide you with a better answer here but I tried to implement EXSLT within data view web part, and failed! I am not an XSLT guru, but I think the problem was caused with some incompatibilities with the dwp namespace. At the end I gave up :(.

share|improve this answer
    
@Toni: Are you sure the problem is on the browser side? The raw HTML appears to have been already processed? –  Alex Angas Nov 11 '09 at 16:54
    
I was under the impression it is being processed on the browser side... but I might be wrong... XSLT is not my game... but one cannot avoid it... It would be nice to add EXSLT in SharePoint but I do not know how to proceed... maybe some will have an idea... –  Toni Frankola Nov 11 '09 at 23:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.