Im making a XSL transform. The XML I'm transforming has a node which contains html.
<xml>
<text>
<p><b>Hello</b><em>There</em></p>
</text>
</xml>
Applying the transform:
<xsl:template match="text">
<div class="{name()} input">
<xsl:value-of select="."/>
</div>
</xsl:template>
I get the output:
<div class="text input">
Hello There
</div>
But I want the Html to remain intact like so:
<div class="text input">
<p><b>Hello</b><em>There</em></p>
</div>
Substituting . with the node() function gives the same result.
Is there a method of getting the HTML through the transform unmodified?