I have this XML:
Code:
<document>
<name>Example Title</name>
<description>This is an example where the xml node happens to include html tags like <b>THIS</b> and click <a href='yahoo.com'>HERE</a> for more info.</description>
</document>
When I use the XSL:
Code:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<div>Name:<xsl:value-of select="document/name"/></div>
<div>Description:<xsl:value-of select="document/description"/></div>
</body>
</html>
The html tags do not get passed along since they are considered nodes and not text. Is there ANY way to pass along the HTML tags so the resulting page is formatted and includes the links? I know it's not the best XML structure, but it is a result of an export from a tool and I have little ability to modify it.