devxlogo

Changing the Value of Global Parameters

Changing the Value of Global Parameters

Question:
With XSL, can I change the value of global parameters inside the templates named temp?

Answer:
No. Parameters and variables in XSLT, once defined, essentially are fixed for a given scope. You can create local versions of these variables, but the value of the variable will not change outside of the scope of that local variable. Like in the following expression, for example:

devx-admin

Share the Post: