LINQ to XML XElement Node?

Well if that stuff is not well-formed then don't expect to be able to treat it as XML. Thus if you want to put not well-formed HTML markup into an XML element then consider to use a CDATA section e.g.

I don't think you need to change anything. Are how angle brackets are escaped in XML. XML parsers turn them back into literal angle brackets automatically when reading string values.

CDATA is simply another way of escaping the angle brackets. They both accomplish exactly the same thing in this case. If you take your original code and read the value of the node with an XML parser, the string returned will be Street, City.

Changing the method of escaping to CDATA doesn't actually change anything except to make your XML (arguably) harder to read.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions