[xsl] [ANN] Saxon 9.1 is available

Subject: [xsl] [ANN] Saxon 9.1 is available
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 3 Jul 2008 10:41:10 +0100
Saxon 9.1 is now available. Download links are at http://saxon.sf.net/.

Full details of the changes (119 items) are at 


For the XSLT user the most interesting developments are probably in the area
of streaming, allowing large documents to be processed without constructing
a complete tree in memory: see


The saxon:stream() extension function is essentially a repackaging of the
existing <xsl:copy-of saxon:read-once> instruction, but it becomes a lot
more versatile with the new syntax; in addition, a wider class of XPath
expressions can now be streamed. Apart from this syntactic change, there are
two other significant enhancements:

* the saxon:iterate extension instruction allows "stateful" streamed
processing where the processing of an element in the document can depend on
data that was seen earlier in the stream. This was not previously possible.

* operations that only need to see data near the start of the document will
cause the XML parsing to terminate as soon as the required data is
available. So you can get the title of a document without parsing the whole

Michael Kay

Current Thread