Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The short answer is no, it's not possible to achieve this reliably with Xalan.</p> <p><strong>EDIT</strong>: However, it might be possible with extensions to Saxon - have a look at them.</p> <p>As for the longer answer, the streaming capabilities of XSLT processors have seen some progress, but the results seem to be too unpredictable yet. For example, see this link: <a href="http://www.balisage.net/Proceedings/vol5/html/Kay01/BalisageVol5-Kay01.html" rel="nofollow noreferrer">http://www.balisage.net/Proceedings/vol5/html/Kay01/BalisageVol5-Kay01.html</a> for a discussion of an attempt to implement Streaming in Saxon.</p> <p>It is assumed that the XSLT 3.0 Recommendation will embrace this question:</p> <blockquote> <p>The primary purpose of the changes in this version of the language is to enable transformations to be performed in streaming mode, where neither the source document nor the result document is ever held in memory in its entirety.</p> </blockquote> <p>See <a href="http://www.w3.org/TR/xslt-30/" rel="nofollow noreferrer">http://www.w3.org/TR/xslt-30/</a> for more information on this. This is only a working draft, though.</p> <p><strong>EDIT</strong>: For streaming with Xalan in particular, Michael Kay writes:</p> <blockquote> <p>Incremental transformation in Xalan doesn't actually stop it building the whole source document as a tree in memory; all it does is to allow the tree to be built in parallel with the transformation process. If you want a streaming transformation, Saxon-EE is your only practical option. [...]</p> </blockquote> <p>This is taken from <a href="https://stackoverflow.com/questions/10880608/incremental-streaming-xslt-transformations">Incremental/streaming XSLT transformations?</a> , dating from 2012. Seems like <code>StreamSource</code> is not streaming, really.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload