Re: QT4CG meeting 145 draft agenda, 9 December 2025

> 
> Now, if you’ve worked with XSLT 3 streaming, you know that you have to
> avoid constructing long sequences of data from your input.
> 
> Don’t write
>  xsl:for-each select=”/dictionary/letter-group/entry/title”
> because that makes a list of 9,960 entry titles before it starts to
> process them. Instead, you write, e.g.
>  xsl:apply-templates select=”/dictionary/letter-group/entry/title”
> so that the processor can handle one title at a time.
> 

Thanks for the message Liam, but this part isn't true, at least not of the Saxon implementation. Pipelined evaluation works just as well with xsl:for-each as with xsl:apply-templates. And that's true whether or not you are using streaming.


Mike

Received on Tuesday, 9 December 2025 09:29:08 UTC