Solved

How does Linq to XML XElement to string conversion work?

Posted on 2013-11-03
2
883 Views
Last Modified: 2016-02-10
What is the idea that is sitting behind XDocument to string conversion, the one that I do not understand? Please see the attached image.
Thanks.ee.pngIn other words, what is the best way to output XElement's underlying XML with its XML Entities decoded (if printable, or at least pre-defined).
0
Comment
Question by:midfde
  • 2
2 Comments
 
LVL 1

Accepted Solution

by:
midfde earned 0 total points
ID: 39620152
Got it.
Console.WriteLine("(4)" + WebUtility.HtmlDecode(xEl.ToString()))

Open in new window

0
 
LVL 1

Author Closing Comment

by:midfde
ID: 39620153
Old kind ASP programming helps.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question