How to populate a XDocument from a String?
Example C#
string str = "This is Child 1This is Child 2"; XDocument doc = XDocument.Parse(str);
Example VB.NET
Dim str As String = "This is Child 1This is Child 2" Dim doc As XDocument = XDocument.Parse(str)
see the msdn for more informations XDocument.Parse Method