Re: [xsl] looking for the / char

Subject: Re: [xsl] looking for the / char
From: David Carlisle <davidc@xxxxxxxxx>
Date: Sun, 4 Feb 2001 17:15:49 GMT
> fine.... however it wont replace the /.... Im not sure why

because having found a space you output the string up to that point without
change, which means that any / before the first space gets into the
You then recurse looking for spaces and so do the same for teh next /.

You can't do two replacements at once like that, make a replace-string
template (or get one from the archives of this list) then in an outer
call that replaces spaces, make an inner call to replace /
on the string found before the current space.


This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit

 XSL-List info and archive:

Current Thread