This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


> 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]