Global Variable
Hi All,
I would like to store value into a variable at a global level.
1) The data required is present in my database and hence i contact java to get the data using xalan extensions.
2) Once nodelist retrieved, i store it in a variable using <xsl:variable>
3) All the other templates including the above has access to the global variable defined.
My question is, say if 5 people try to access , i want to avoid the call to java which fetches the value. Basically, <xsl:variable name="something" value="something"/> should be executed only once in the entire application.
Is there is a way to achive it ?
Thanks.
Free
|