On Sep 13, 2004, at 8:13 AM, Clay Leeds wrote:
On Sep 13, 2004, at 4:32 AM, Eldho George wrote:
Hai all,
Thanks to all of your response.I have problem with <xsl:variable>.I have a
variable 'bordervalue' inside <xsl:stylesheet>.
I am not assign any value to this variable.But inside a template i want to
assign some value to this variable.How can i solve this problem?
I tried with lot.But the variable could not get assigned a new
value.Following is my code snippet...Please help me

As I understand it, you can assign xsl:variable in any template, as long as it is only *once*.

I should point out, as I understand it that only one template can define xsl:variable--it cannot be defined in more than one xsl:template, even if from another xsl:include.


The value of a xsl:variable cannot change once it has been set (with some exceptions you can find in the spec and elsewhere on the internet). If you need it to 'change' then you probably want to use xsl:parameter instead.

Web Maestro Clay


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to