[Home] [By Thread] [By Date] [Recent Entries]

Subject: variable
From: "Eric Schenfeld" <ESchenfeld@xxxxxxxxxxx>
Date: Wed, 01 Aug 2001 16:49:33 -0400
is there a way to change the value of a parameter or a variable after it's been declared?  like with an if statement?

CODE:

		<xsl:param name="color">123456</xsl:param>
		<xsl:if test="ancestor::top_bar">
			<xsl:param name="color">ffffff</xsl:param>
		</xsl:if>
		<xsl:if test="ancestor::bottom_bar">
			<xsl:param name="color">000000</xsl:param>
		</xsl:if>

It doesn't seem to work with variables or parameters.  is there some other way?


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • variable
    • Eric Schenfeld - Wed, 1 Aug 2001 16:54:03 -0400 (EDT) <=
      • James Melton - Wed, 1 Aug 2001 17:02:38 -0400 (EDT)
        • dante - Thu, 2 Aug 2001 08:05:14 -0400 (EDT)
          • cutlass - Thu, 2 Aug 2001 08:14:59 -0400 (EDT)
          • Matt Sergeant - Thu, 2 Aug 2001 08:53:41 -0400 (EDT)
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member