Thank you very much Dave,
This is Good Idea and I think it will work for me.

Raj.

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, August 24, 2001 11:58 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: Invoking Extension Only Once (xalan-c++)
> 
> 
> You cannot store the result of an extension function call between
> transformations.  If you really need to make this as efficient as
> possible,
> you can pass the options as a top-level parameter to the stylesheet.  You
> can then create the string once, before you start processing, and set the
> parameter for each transformation.
> 
> See the UseStylesheetParam example for more information about setting
> parameters.
> 
> Dave
> 
> 
> 
>  
> 
>                       "Avula, Raj"
> 
>                       <RAvula@firstam.         To:
> "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>               
>                       com>                     cc:      (bcc: David N
> Bertoni/CAM/Lotus)                                      
>                                                Subject: Invoking Extension
> Only Once (xalan-c++)                              
>                       08/24/2001 02:48
> 
>                       PM
> 
>                       Please respond
> 
>                       to xalan-dev
> 
>  
> 
>  
> 
> 
> 
> 
> 
> 
> 
> HI All,
>              Is there any way I can invoke external function only once.
> I am using xsl to generate report. I am taking xml file as input.
> And I have another xml file which contains report options.
> I am calling extension funciton to get the report options in the
> form of string with delimiters. Since the report options are not
> going to change for each transformation, I do not want to call
> external function for each transformation. Is there any way I
> can store the report options string and avoid calling extension
> function again.
>              If not possible, How expensive is it to call extension
> function
> for each transformation.
> 
> 
> Regards,
> Raj
> 
> 
> 
> 
> 

Reply via email to