Xalan semi-incrementally builds an index.  xsl:key tends to be very fast.

Your best bet at understanding what Xalan does is to look at the code.

-scott




                                                                                
                                                  
                      "Jean Croteau"                                            
                                                  
                      <[EMAIL PROTECTED]        To:       <[EMAIL PROTECTED]>   
                                        
                      e.ca>                    cc:       (bcc: Scott 
Boag/Cambridge/IBM)                                          
                                               Subject:  XSL:KEY VS 
XSL:VARIABLES                                                 
                      04/30/2002 03:54                                          
                                                  
                      PM                                                        
                                                  
                                                                                
                                                  
                                                                                
                                                  




Hi,

We are working on a project with multiple languages and we want to know if
their is a performance issue when using XSL:KEY with an xml file (using a
<xsl:for-each> on a document) vs defining a whole bunch of xsl variables
and doing a xsl choose.

Does Xalan load the keys into memory ?  How does it manage the xml files
that it imports ?  Any information on this subject would be appreciated.




Reply via email to