bikeboardsurf
Programmer
Hi I have stored a variable obtained from part of the XML document I then what to limit the for-each statement by only using values that match that variable. I have printed out the variable so I know it is present, so why does this not work :
<xsl:variable name="cat"><xsl:value-of select="QuizMainia/Addy/Tst" /></xsl:variable>
<xsl:for-each select="QuizMainia/NewQ[@category='$cat']">
Any help will be very much appreciated
Cheers
Bikeboardsurf
<xsl:variable name="cat"><xsl:value-of select="QuizMainia/Addy/Tst" /></xsl:variable>
<xsl:for-each select="QuizMainia/NewQ[@category='$cat']">
Any help will be very much appreciated
Cheers
Bikeboardsurf