xsl-list
[Top] [All Lists]

sax or dom in XSLT procesing ?

2003-01-29 16:47:16
its very useful variant, but last question is, if xalan read input
SAX document (represented as XMLReader) one time, and  scroll it 
FORWARD_ONLY ?

If you're reading a SAX stream, then you may benefit from running Xalan in 
Incremental mode and reading/building only as much of the document as is 
actually referenced by the stylesheet.

Or you may not. Incremental has higher computational overhead than 
preloaded.

Xalan can not currently recognize when no backward references will occur, 
and is not set up to optimize that case even with user assistance. Again: 
See archived Apache discussion of Streaming, Pruning, and Filtering ideas; 
there's far too much to repeat here.

______________________________________
Joe Kesselman  / IBM Research


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



<Prev in Thread] Current Thread [Next in Thread>