Displaying XML in the view

I have some XML obtained by the controller. I want to display this XML in the view. If I use the following in my view:

<? echo $model['responseXml']; ?>

then the HTML parser treats the XML tags like unknown HTML tags.


if i understood you right CTextHighlighter could do this for you:


Thanks! ::)