This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: RE: A simple solution (Was: Re: One for tomorrow :-) )
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] RE: A simple solution (Was: Re: One for tomorrow :-) )
- From: "Michael Kay" <mhkay at iclway dot co dot uk>
- Date: Wed, 4 Jul 2001 11:24:25 +0100
- Reply-To: xsl-list at lists dot mulberrytech dot com
> How do I limit it to just the first one? Would
> <select="following-sibling::*[not(substring(.,string-length(.)
> )=',')][1]">
> work?
That will give you the first following sibling element that ends with a
comma. If you want the first following sibling element provided it ends in a
comma, reverse the two predicates.
Mike Kay
Software AG
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list