XML literals in C#
http://download.microsoft.com/download/4/7/0/4703eba2-78c4-4b09-8912-69f6c38d3a56/XLinq.wmv
Looks impressive. BUT, did you notice the elephant in the room? That big routine for building the XML document.
What about XML literals? VB 9.0 has them.
I have just read Code Generation in Microsoft.Net by Kathleen Dollard. I think she is wrong about what she calls BruteForce generation. XML literals, XLinq and the new C# 3.0 functional enhancements would be a killer combination for code generation. The XSLT solution she presents is workable but hideous.
So where ARE XML literals?

