Replace \n by \\n
<p>I have a xml string shown below:</p>

<pre><code>String xml = @"&lt;axislable='ihgyh\nuijh\nkjjfgj'&gt;";
</code></pre>

<p>Now when I try to output the xml it shows  <code>&lt;axislable='ihgyh\nuijh\nkjjfgj'&gt;</code></p>

<p>But my requirement is to break the line like below</p>

<pre><code>&lt;axislable='ihgyh
uijh
kjjfgj'&gt;
</code></pre>

<p>I have tried replacing the xml using  <code>xml = xml.Replace("\n", "\\n");</code>   But it doesnt seems to work.Any ideas how to break the line?</p>

<p>Regards,
Sharmila</p>
