Reputation: 14029
I am using LINQ-to-XML. I am building a small program that helps parse HTML. I'd like to save the HTML tags into an XML file, but I don't want the XML file to check the validity of the entered HTML elements.
How can I just entere a simple string literal (a pretty long one)?
Upvotes: 0
Views: 393
Reputation: 7274
Maybe using a CDATA construct could help you out, see w3schools.com
Upvotes: 1