- From: Michael Kay <mike@saxonica.com>
- Date: Tue, 9 Dec 2025 09:28:51 +0000
- To: "Liam R. E. Quin" <liam@fromoldbooks.org>
- Cc: Norm Tovey-Walsh <norm@saxonica.com>, public-xslt-40@w3.org, Dimitre Novatchev <dnovatchev@googlemail.com>
> > 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