How to render an xml generated by xopus using xsl



I have an xml structure that goes like this



<root>
<element>
<Heading>
This is the Header
</Heading>
<Content>
&lt;Region&gt;
&lt;Section&gt;
&lt;Paragraph&gt;
The last two lines define the end of the template and the end of the style sheet.
&lt;/Paragraph&gt;
&lt;/Section&gt;
&lt;/Region&gt;
</Content>
</elememt>
</root>


Now I have to render this as html using xsl. The heading is pretty straight forward. But the hard part is the content. I get the output as the text surrounded by tags like this


This is the Header



<Region><Section><Paragraph>The last two lines define the end of the template and the end of the style sheet.</Paragraph></Section></Region>


How do I solve this? I absolutely have no idea. Any help is welcome. Thanks to all in advance.


No comments:

Post a Comment