Re: Suggestion for XSLT 2.0

Subject: Re: Suggestion for XSLT 2.0
From: "Heiner de Wendt" <H.dewendt@xxxxxxxxx>
Date: Mon, 11 Sep 2000 07:36:06 +0200
Hi,

> test="preceding-sibling::*[self::heading and position() = 1]"
> 
> It seems to me that this situation (I.e testing the type of an immediately
> neighbouring element) is fairly common and there should be some abbreviation
> for it for preceding, following, preceding-sibling and following-sibling.
> Anybody agree?, disagree?

I have to agree here. The current version really is far from being 
intuitive, not to talk about fast&easy writing ;)  I think Paul's
some(-1)/some(+1) etc. was a good suggestion.

Bye,

Heiner


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread