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

I've seen a few sharepoint developers use XSLT files instead of HTML files as their e-mail templates when they need to send out various items from lists in emails to subscribers / clients.

I have setup the XSLT as I want the email to look like when it gets sent out, but how do I get it and use it through my C# code?

share|improve this question
    
Are you talking about the Alert templates? –  Wictor Wilen MCA MCM MVP Aug 30 '11 at 12:08
    
@Wictor - No not those. This is for pure custom code only. –  Daniel Ziga Aug 30 '11 at 12:14

1 Answer 1

up vote 1 down vote accepted

Use the XslCompiledTransform class, it's in the .NET Fx.

share|improve this answer
    
Looks promising. Can you link me some good examples? –  Daniel Ziga Aug 30 '11 at 13:00
    
Just Google or Bing it! –  Wictor Wilen MCA MCM MVP Aug 30 '11 at 13:12

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.