[Home] [By Thread] [By Date] [Recent Entries]
<xsl:param name="myvar"/> If you had declared a param , then the condition changes to <?xml version="1.0"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <xsl:param name="myvar"/> <!--This is the place of change "manufacturer = $myvar" below --> <xsl:for-each select="/collection/item[manufacturer = $myvar]"> <xsl:value-of select="model"/> <br></br> </xsl:for-each> </xsl:template> </xsl:stylesheet> From: "William S." <wstan@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: <xsl:for-each select="$myvar"> Date: Wed, 19 Jun 2002 16:43:30 +0200 _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|

Cart



