Hi There,
I have an XML file I am transforming with XSLT, output to HTML. However, I have an element that I am receiving with Text, including line feed and carriage returns (formatted). What I need to do is output that to HTML so that it looks exactly like it does when in the XML element.
I've looked in books, etc. But cannot find an answer. Just need to somehow preserve the XML element and display it as such... Html just streams all of the text.
Code:
<MESSAGE>
<TranslationReport>
Translation Report
==================
Contains errors ? true
Contains warnings ? false
There are 9 entries in the report
Current output--
HTML Code:
Translation Report ================== Contains errors ? true Contains warnings ? false There are 9 entries in the report
Thanks,
Dj