Subject: Re: [xsl] Resetting Parameters|
From: "Shane Sawyer" <shanesawyer@xxxxxxxxxxx>
Date: Wed, 09 Apr 2003 10:13:32 +0000
----Original Message Follows---- From: David Carlisle <davidc@xxxxxxxxx> Reply-To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Resetting Parameters Date: Wed, 9 Apr 2003 10:42:41 +0100
In common with all other declarative languages, you can't change the value of a variable once it is bound in XSLT.
If you said what transform you were trying to perform someone may be able to offer more help.
<xsl:template name="ProductTypeTemplate" match="ProductType"> <ProductType> <EnvironmentParam><xsl:value-of select="$EnvironmentParam"/></EnvironmentParam>
<xsl:template name="ProductTypeTemplate" match="ProductType"> <ProductType> <EnvironmentParam><xsl:value-of select="/Request/Environment"/></EnvironmentParam>
________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________