Yes Andreas, you can - see example below:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" omit-xml-declaration="no"/>
<xsl:template match="/">
<html>
<head>
</head>
<body>
<xsl:value-of select="node" disable-output-escaping="yes" />
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Cheers,
<prs/>
-----Original Message-----
From: Andreas Lindahl [mailto:andreas(_dot_)lindahl(_at_)framfab(_dot_)se]
Sent: Tuesday, November 16, 2004 3:26 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] HTML encoded text
I have an XML file with HTML encoded values, for example:
<node>&lt;p&gt;a paragraph&lt;/p&gt;</node>
Is it possible to translate/convert this into valid HTML in my XSLT file?
For example, I want my XSLT file to convert the above node value to <p>a
paragraph</p>.
Cheers,
Andreas
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--