You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xalan.apache.org by Scott Moore <Sc...@netDecide.com> on 2002/04/15 19:25:43 UTC
How can I get a single quote ' into HTML
I'm creating an HTML page using XSL (Xalan Java 2) and for the life of me I
can't get a single apostrophe to show up in my HTML. It always shows up in
my HTML as '.
Here's my stylesheet:
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/">
<html>
<body>
<xsl:text disable-output-escaping="yes">
<p>Scott's test</p>
</xsl:text>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
I've tried everything I can think of to get it to work.
<p>Scott's test</p>
<p>Scott's test</p>
But nothing works. There's got to be a simple solution to this!
Thanks,
Scott