Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

How does Linq to XML XElement to string conversion work?

Posted on 2013-11-03
2
901 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

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

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

Introduction In my previous article (http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/SSIS/A_9150-Loading-XML-Using-SSIS.html) I showed you how the XML Source component can be used to load XML files into a SQL Server database, us…
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

837 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