xsl-list
[Top] [All Lists]

Re: APOSTROPHE in select="..."

2002-12-16 06:58:37
Hi,

We can easily get the single quote by using

select=""'""

Cheers,
Babu Sathish.
(bramaraj(_at_)ivesia(_dot_)com)

----- Original Message -----
From: <sguazt(_at_)kerbero(_dot_)com>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Monday, December 16, 2002 7:40 PM
Subject: [xsl] APOSTROPHE in select="..."


Hi, anyone can tell me how can I generate an apostrophe character (')
inside an
xsl select expression; e.g.:

<xsl:with-param name="foo" select="'''" /> <!-- this is bad!!! -->

Yes, I know!! I can write:
<xsl:with-param name="foo"><xsl:text>'</xsl:text></xsl:with-param>
but I ask myself If a solution does exist!!
I tried with:
* select="'''"
* select="'&apos;'"
* select="'&#x27'"
* select="'"
* select="&apos"
* select="&#x27"
but all are wrongs!!!
Any idea??
Thank you in advance!!

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



<Prev in Thread] Current Thread [Next in Thread>