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&apos;s test</p>
<p>Scott&#39;s test</p>

But nothing works.  There's got to be a simple solution to this!

Thanks,
Scott

Reply via email to