This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Suggestion for XSLT 2.0
- To: xsl-list at mulberrytech dot com
- Subject: Re: Suggestion for XSLT 2.0
- From: "Heiner de Wendt" <H dot dewendt at systec dot de>
- Date: Mon, 11 Sep 2000 07:36:06 +0200
- Organization: SYSTEC Elektronik und Software GmbH
- Reply-To: xsl-list at mulberrytech dot com
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