Re: [xsl] limit the results of preceding in predicate

Subject: Re: [xsl] limit the results of preceding in predicate
From: Ronan Klyne <ronan.klyne@xxxxxxxxxxx>
Date: Wed, 14 Feb 2007 16:22:27 +0000
Marc Lambrichs wrote:
> However, if $tail is part of a recursion process and changes, how can I
> make sure that the 'preceding-sibling::A' are restricted to the current
> $tail nodes?
> 

Hi Marc,

I'm not really sure what you're after here, for the following reasons:
$tail is a variable, which is assigned to once, and may never be given
another value, and thus will never change.
//A will also never change - the set of all A nodes in the source
document will always be the the same set.

Could you please give an example of the recursion process you have in
mind, and we may be able to help more.

	# r

-- 
Ronan Klyne
Business Collaborator Developer
Tel: +44 (0)870 163 2555
ronan.klyne@xxxxxxxxxxx
www.groupbc.com

Current Thread