Using XML Literals in Code Generation

Using XML Literals in Code Generation

  • Comments 1

A while back I showed a very simple way you could use XML Literals to generate code. In my previous life we used XSLT to do our code generation of different layers in our applications but as I worked with XML literals in Visual Basic 9, I came to realize quickly how much easier this is using VB.

But don't take it from me, Kathleen Dollard is the expert in code generation and has a dnrTV episode where she shows us how she's using XML literals and LINQ to generate not only VB code, but also C# code, all from the same template!

Enjoy!

Leave a Comment
  • Please add 4 and 7 and type the answer here:
  • Post