FW: [xsl] Apostrification

Subject: FW: [xsl] Apostrification
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Tue, 10 Apr 2001 10:44:58 +0100
Half a dozen messages I sent out on Saturday were bounced by the list, so
I'm trying again. Sorry if the responses are no longer relevant.

-----Original Message-----
From: Michael Kay [mailto:mhkay@xxxxxxxxxxxx]
Sent: 07 April 2001 10:07
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Apostrification


> How do I put an aprotophy in this string...
>
> <xsl:value-of select="concat('[@name = &apos;',@name,'&apos;]')"/>
>

Try
<xsl:variable name="apos">'</xsl:variable>
<xsl:value-of select="concat('[@name = ',$apos,@name,$apos,']')"/>

Mike Kay
Software AG

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



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


Current Thread