I was reading �Roger�s� tutorial on XSLT and I got confused in �variable� section.
A variable is �write once, read many�.
That is, you can assign a variable a value only once, but then you can retrieve the value of the variable many times.
I tried to assign �second� value to a variable and it seems that it is taking the second assigned
value for the declared variable. I am using following files for my testing: XML File: XSL File: OUTPUT File:
I really don�t understand. Why am I not getting an error? Or why is it using second assigned value to the variable?
Please do reply.