Sorry, my example should be:
<p><xsl:text disable-output-escaping="yes">
Scott's test
</xsl:text></p>
I mistyped it in the email. But, the result is the same. ' shows up
in my HTML.
-----Original Message-----
From: Jesse Hersch [mailto:[EMAIL PROTECTED]
Sent: Monday, April 15, 2002 1:39 PM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: How can I get a single quote ' into HTML
did you try taking the <p> tags out of the xsl:text element? like this:
<p>
<xsl:text disable-output-escaping="yes">Scott's test</xsl:text>
</p>
-jesse
>From: Scott Moore <[EMAIL PROTECTED]>
>To: "Xalan-J-Users (E-mail)" <[EMAIL PROTECTED]>
>Subject: How can I get a single quote ' into HTML
>Date: Mon, 15 Apr 2002 13:25:43 -0400
>
>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
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com