OK, sorry. I simply want to do simple markup in the XML file and then have this markup (e.g. the boldface) appear in the HTML document generated using the XSLT document; i.e. when extracting the
description value from the XML document I would like the word
demo to appear as bold in the browser.
When I try to do this now it seems like the bold tags are disappearing.
The test XML document...
Code:
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="test.xsl"?>
<test>
<description>This is a <b>demo</b> description.</description>
</test>
The XSLT document named test.xsl...
Code:
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" indent="yes"/>
<xsl:template match="test">
<html>
<head></head>
<body><xsl:value-of select="description" /></body>
</html>
</xsl:template>
</xsl:stylesheet>
Thanks, Jacob.