Re: [xsl] Stripping white space

Subject: Re: [xsl] Stripping white space
From: "Manfred Staudinger" <manfred.staudinger@xxxxxxxxx>
Date: Fri, 30 Mar 2007 18:15:50 +0200
On 30/03/07, David Carlisle <davidc@xxxxxxxxx> wrote:

> select="substring-after(normalize-space(.),',')"/>

what you want there is


but easiest is not to tokenize on a , (which leaves dangling white space) but to tokenize on a comma followed by optional white space tokenize(.,',\s*') then the token will never start with white space as any such space will be taken into the token separator.


Current Thread