Categories: MSDN / DotNet / Java / Scripts / Linux / PHP Ask - La ask - La Answer

XML literals in C#

I've just viewed the demo for XLINQ.
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?
[651 byte] By [Peter Wilson] at [2007-11-11 7:51:13]
# 1 Re: XML literals in C#
From my point of view XSLT is a very rigid solution.
THByte at 2007-11-11 21:48:22 >