Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Home » Tip Bank » XML » XSLT
Language: XSLT
Expertise: Beginner
Aug 1, 2000

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 Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap