Hi Brian,

You observation is incorrect -- Xalan always processes included and
imported stylesheets when it compiles the stylesheet.  There is a
post-construction step which "composes" the stylesheets.

Take a look at Stylesheet:::postConstruction() to see what's going on.

Dave



                                                                                       
                                               
                      "Brian Quinlan"                                                  
                                               
                      <brian@sweetapp.         To:      <[EMAIL PROTECTED]>     
                                               
                      com>                     cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                          
                                               Subject: RE: Reusing compiled 
stylesheets                                              
                      05/23/2002 07:32                                                 
                                               
                      PM                                                               
                                               
                      Please respond                                                   
                                               
                      to xalan-dev                                                     
                                               
                                                                                       
                                               
                                                                                       
                                               





> -----Original Message-----
> From: David N Bertoni/Cambridge/IBM
[mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 23, 2002 6:29 PM
> To: [EMAIL PROTECTED]
> Subject: Re: Reusing compiled stylesheets
>
>
> Hi Brian,
>
> Right now, you can't separately pre-compile an included or exported
> stylesheet, since the semantics can change depending on the including
or
> importing stylesheet.

OK.

> It might be possible to do this, but I'm not sure how much effort it
would
> save, since the system would have to spend more time re-analyzing
> everything, and it would have to keep around lots of information that
it
> doesn't if the stylesheets are built into one indivisible whole.
>
> Is that the question you were asking, or where you wondering if a
compiled
> stylesheet represents the results of the included and imported
> stylesheets?

My observation of Xalan's behavior suggests that stylesheets do not
represent the results of the included or imported stylesheets. Is that
observation incorrect (your reply seems to suggest that)?

Cheers,
Brian






Reply via email to