xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor