[xsl] sax or dom in XSLT procesing ?

Subject: [xsl] sax or dom in XSLT procesing ?
From: Joseph Kesselman <keshlam@xxxxxxxxxx>
Date: Wed, 29 Jan 2003 18:47:16 -0500
>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


Current Thread