RE: [xsl] Read the data only once.

Subject: RE: [xsl] Read the data only once.
From: "Andrew Mottershead" <andrew@xxxxxxxxxxxxxxxx>
Date: Tue, 9 Apr 2002 01:50:45 +0100
Hi there,

I'd use an external template to calculate the variable and call this
whenever it is needed.

regards
 
Andrew Mottershead
Web Developer
Mindstream Web Design

email: andrew@xxxxxxxxxxxxxxxx
tel: +44 (0)1743 718262
fax: +44 (0) 7092 115513
web: www.mindstream.co.uk

This e-mail, and any attachment, is confidential. If you have received
it in error, please delete it from your system, do not use or disclose
the information in any way, and notify me immediately.
 


> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Avula, Raj
> Sent: 09 April 2002 01:37
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject: [xsl] Read the data only once.
> 
> 
> 
> 
> Hi,
> 	In my xsl I have a global varaible which caluculates 
> and holds some data. I am using that variable from all over 
> the xsl. I am making calls to named templates while creating 
> the variable. Each time I call the varialbe, that named 
> templates are being called to extract the value. I need a 
> different behaviour here. In my case that variable remains 
> constant through out the xsl. So I want to calculate the 
> variable only once. Is there a easy way to implement this.
> 
> Thanks for the help
> 
> Raj..
> 
> "MMS <firstam.com>" made the following
>  annotations on 04/08/02 17:38:08
> --------------------------------------------------------------
> ----------------
> "THIS E-MAIL MESSAGE AND ANY FILES TRANSMITTED HEREWITH, ARE 
> INTENDED SOLELY FOR THE USE OF THE INDIVIDUAL(S) ADDRESSED 
> AND MAY CONTAIN CONFIDENTIAL, PROPRIETARY OR PRIVILEGED 
> INFORMATION.  IF YOU ARE NOT THE ADDRESSEE INDICATED IN THIS 
> MESSAGE (OR RESPONSIBLE FOR DELIVERY OF THIS MESSAGE TO SUCH 
> PERSON) YOU MAY NOT REVIEW, USE, DISCLOSE OR DISTRIBUTE THIS 
> MESSAGE OR ANY FILES TRANSMITTED HEREWITH.  IF YOU RECEIVE 
> THIS MESSAGE IN ERROR, PLEASE CONTACT THE SENDER BY REPLY 
> E-MAIL AND DELETE THIS MESSAGE AND ALL COPIES OF IT FROM YOUR SYSTEM."
> 
> ==============================================================
> ================
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002
>  
> 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.338 / Virus Database: 189 - Release Date: 14/03/2002
 



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread