Quantcast
Channel: Writing special characters to xml in c# - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Andras Zoltan for Writing special characters to xml in c#

$
0
0

If you don't want it to be output using escaped characters - then use a StringBuilder or StreamWriter.

The fact is, though, you're trying to generate bad XML that will not be parseable by any XML reader so there's actually no point - unless you are deliberately trying to break someone's XML handling!?


Viewing all articles
Browse latest Browse all 4

Trending Articles