On Thu, 29 Mar 2001, Jeffrey Yasskin wrote: > <xsl:template match="/"> > <h1>Header</h1> > <xsl:apply-templates /> > <xsl:if test="$fired"> > NO RESULTS!! > </xsl:if> > </xsl:template> > <xsl:template match="row[lots-of-conditions]"> > <xsl:variable name="fired" select="true"> > <p>Stuff</p> > </xsl:template> Try <xsl:variable name="fired" select="//row[lotsa-conditions]/> (or something faster with a more explicit path, or with keys) at the top level instead. You just need to worry about variable scoping. No need for new features in XSLT. Sampo Syreeni <decoy@iki.fi>, aka decoy, student/math/Helsinki universityReceived on Friday, 30 March 2001 08:06:01 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:08 GMT