Joe, this is a question about Xalan-C++.  Unless you have a class called
XalanTransformer in the Java version that I don't know about.

Dave



                                                                                       
                                                     
                      "Joseph                                                          
                                                     
                      Kesselman"               To:      [EMAIL PROTECTED]       
                                                     
                      <[EMAIL PROTECTED]         cc:      (bcc: David N 
Bertoni/Cambridge/IBM)                                                
                      com>                     Subject: Re: [xsl] Does the 
XalanTransformer class always resolve the XSLTInputSource to a   
                                               DOM before applying the transformation? 
                                                     
                      05/16/2002 11:44                                                 
                                                     
                      AM                                                               
                                                     
                      Please respond                                                   
                                                     
                      to xalan-dev                                                     
                                                     
                                                                                       
                                                     
                                                                                       
                                                     




Normally, Xalan will read the full document into storage (into a DTM rather
than a DOM, if we're operating from a SAX stream) before processing it.

If you set the incremental flag (see
http://xml.apache.org/xalan-j/dtm.html#incremental), we will "hold off" the
incoming SAX stream as much as possible, building the model only as needed
and only as far as is needed. This may reduce latence (start generating
output sooner) and memory use (_if_ your stylesheet doesn't reference the
whole document), but it will probably also reduce throughput (take longer
to finish producing all the output) slightly,

______________________________________
Joe Kesselman  / IBM Research







Reply via email to