In VB.NET I can easily embed strings into XML literals using <xml><%= "my string" %></xml>
.
How can I embed an XElement
instance?
I know I can use methods on the XElement, XNode, etc classes, but I'd like to do it in the XML literals if possible.