RE: [xsl] XSLT use cases; data-centric todocument-centrictransformations

Subject: RE: [xsl] XSLT use cases; data-centric todocument-centrictransformations
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 8 Feb 2005 12:51:27 -0000
> Well in my case it is one single flat template, but very 
> large. It contains
> about 500 hundred fo:block elements

In Saxon 8.2 a sequence of 500 sibling instructions will in fact compile to
the same code as the XPath expression (a1, a2, a3, ... a500), which is
actually handled as (a1, (a2, (a3, (a4, ...))) and therefore does indeed
make excessive use of stack space. This will be fixed next time around,
although it's very rare that it causes a problem since you rarely see
sequences of more than 5 sibling instructions.

Michael Kay
http://www.saxonica.com/

Current Thread