xsl-list
[Top] [All Lists]

Re: [xsl] Stripping white space

2007-03-30 10:15:56


On 30/03/07, David Carlisle <davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:


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

what you want there is

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



yes I did, did you have a comment? :-)

As is obvious when I saw your reply (but not apparently when I wrote the
original) I swapped the function names but not their arguments, so that
should have been

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

David

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>