Re: [xsl] How do I search ancestors in the output tree?

Subject: Re: [xsl] How do I search ancestors in the output tree?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sun, 02 Sep 2012 08:33:53 +0100
On 02/09/2012 02:26, Liam R E Quin wrote:
On Sat, 2012-09-01 at 10:46 +0200, Stefan Drees wrote:
[...] shouldn't we say instead "the output tree wouldn't be
available to you to query unless you make it the input tree for a
subsequent transform" ?
In XSLT 2 and later (and exslt/xslt 1.1) you can also access results by
storing the output in variables.
Yes, but you can't access the content of the variable until you have finished writing it, which is what the OP wanted to do.

Michael Kay
Saxonica

Current Thread