RE: [xsl] Apostrification

Subject: RE: [xsl] Apostrification
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Sat, 7 Apr 2001 10:07:14 +0100
> 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


Current Thread