Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Re: LINQ to XML >Thread Next - Re: LINQ to XML Re: LINQ to XMLTo: NULL Date: 6/12/2008 10:01:00 AM
> Here is how you can do it, using Joe's suggestion:
>
> XElement desc = XElement.Load(@"file.xml");
> XElement data = XElement.Parse("<data>" + desc.Value +
> "</data>");
> Console.WriteLine(data.Value);
After tweaking, I got this code running, but it doesn't strip out the
markup, which is what I want.
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
