Use the System.Xml.Linq namespace for this.
Here is a sample program:

string str = @"
<LanguageDetails>
[...]