I need to generate an XElement with an indeterminate number of attributes
whose names and values will have previously have been added to a dictionary(Of
String, String)
-------------------------------------------------------------
Private Attributes As New Dictionary(Of String, String)
Public Overrides Function GenerateXElement() As XElement
Return <DocElement>
<InnerElement <%= From Attribute In Attributes Select
SomethingHereIGuess %/>
</DocElement>
End Function
-------------------------------------------------------------
This is kinda what I want but I have no Idea what the syntax is.
Anyone have an Idea?
--
Rory