Subject: Re: How to get an apostrophe into a test expression
From: "Pete Johnston" <P.Johnston@xxxxxxxxxxxxxxxxxx>
Date: Tue, 12 Oct 1999 19:00:03 GMT
|
[Michael Goosens]
> How can I refer to a quote inside a quoted string inside another quoted
> string?
There may be neater solutions, but I think setting up a variable and
then using the variable name in your substring function call works
with XT:
e.g.
either
<xsl:variable name="lapos">l'</xsl:variable>
or
<xsl:variable name="lapos">l'</xsl:variable>
and then
<xsl:when test="substring($Nom,1,2) = $lapos">
Pete Johnston
University of Glasgow
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|