Maybe the XSLT guys has some idea, but I myself would go for writing an XSLT extension (in whatever .NET language you're good at) and use that from XSLT.
I'd second Steen's suggestion - this kind of action really doesn't belong in the View layer - to do something like this, you need a bit more than the rudimentary string manipulation XSLT offers - and it's fairly simple (I hear) to write a custom extension that could do the filtering for you. Heck, Steen may already be done with it by now :-)
Filtering comments using xslt
Hi,
I want to filter all the comments (sharepoint list) containing badwords.
I have stored all the badwords in a file(badword separated by comma ex.bad1,bad2..)
Is it possible using xslt filtering of comments ? Is there any solution using xslt?
Maybe the XSLT guys has some idea, but I myself would go for writing an XSLT extension (in whatever .NET language you're good at) and use that from XSLT.
regards, Steen
Hi varsha,
I'd second Steen's suggestion - this kind of action really doesn't belong in the View layer - to do something like this, you need a bit more than the rudimentary string manipulation XSLT offers - and it's fairly simple (I hear) to write a custom extension that could do the filtering for you. Heck, Steen may already be done with it by now :-)
/Chriztian
Haha! If varsha need an extension, I could do it, that shouldn't take long.
is working on a reply...