Rendering xml as html in text field

Hi,

I have a simple xml file with this structure.

<?xml version=“1.0” encoding=“iso-8859-1”?>
<content>
<page name=“Page Name”>
<text>
<p>This is line 1…</p>
<p>This is line 2…</p>
<p>This is line 3…etc</p>
</text>
</page>
</content>

I can update a text field with the page name with - xmlData.firstChild.childNodes[0].attributes.name but I cannot get another text field to show the text content rendered as html.

The ‘render as html’ option is selected but the <p> tags don’t render as expected.

What am I doing wrong?? I’m thinking it’s something simple!

T