Solved

How does Linq to XML XElement to string conversion work?

Posted on 2013-11-03
2
859 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
Comment Utility
Got it.
Console.WriteLine("(4)" + WebUtility.HtmlDecode(xEl.ToString()))

Open in new window

0
 
LVL 1

Author Closing Comment

by:midfde
Comment Utility
Old kind ASP programming helps.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Browsing the questions asked to the Experts of this forum, you will be amazed to see how many times people are headaching about monster regular expressions (regex) to select that specific part of some HTML or XML file they want to extract. The examp…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now