xsl-list
[Top] [All Lists]

Re: Appended text = to a string?

2004-08-13 15:58:21
Hi Lincoln,

try this:

<xsl:variable name="String1">
  <xsl:apply-templates select='text'/>
</xsl:variable>

HTH
Anton triest


"Lincoln Mitchell" wrote:
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>



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