I am just getting into the idea of code generation for repetitive coding tasks and have seen both of these approaches. I've seen the XSLT approach in an Apress book Code Generation in Microsoft .Net and have read about the T4 approach in relation to what's new in the MVC framework.
What kind of projects is each method better suited for? A quick glance tells me that T4 is a more lightweight system, is that true?
Many thanks...