RE: [xsl] RE: A simple solution (Was: Re: One for tomorrow :-) )

Subject: RE: [xsl] RE: A simple solution (Was: Re: One for tomorrow :-) )
From: "Michael Kay" <mhkay@xxxxxxxxxxxx>
Date: Wed, 4 Jul 2001 11:24:25 +0100
> 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


Current Thread