I am trying to render an HTML page from XML via a java servlet. Not sure if this is the right section or not, but I thought I would start here... I need to use CDATA because there is a section that will more than likely not be formatted correctly. So my XML look something like this:
When calling this from within my XSL, the compiled HTML looks something like this, which is not what I want:
I understand why this is happening, but what can I do to make it so that I get the desired effect?
Thanks!!!
Code:
<Root>
<ReqHTML>
<![CDATA[
<table><tr><td>tons of HTML here</td></tr></table>
]]>
</ReqHTML>
</Root>
When calling this from within my XSL, the compiled HTML looks something like this, which is not what I want:
Code:
<table><tr><td>tons of HTML here</td></tr></table>
I understand why this is happening, but what can I do to make it so that I get the desired effect?
Thanks!!!