Skip to content

Display XML as simple text on ASP.NET page

tolikr

Asked Oct 21, 2005, 6:17 PM EDT1 answer
Share
LinkedInX
Hi,

The simple question.

How to display XML file as plain text on the Web page including all tags.


Thanks for any help

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • 0
    Simply replace < to &lt and > to &gt in your string.
    0