Subject: RE: Appended text = to a string?
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Fri, 13 Aug 2004 23:55:06 +0100
|
This is a case where you do need the construct
<xsl:variable name="x">
<xsl:apply-templates/>
</xsl:variable>
<xsl:if test="$x=abcd">
Michael Kay
> -----Original Message-----
> From: Lincoln Mitchell [mailto:lincoln@xxxxxxxxxxx]
> Sent: 13 August 2004 23:49
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Appended text = to a string?
>
> How do I check if a set of nodes appended together is equal
> to a string?
>
> I know the following is wrong but it illustrates what I am
> trying to do:
> <xsl:variable name="String1" select="<xsl:apply-templates
> select='text'/>"/>
> <xsl:if test="$String1=$String2">
> Do something...
> </xsl:if>
>
> TIA
> Linc
|