This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Finding out the ascii value of a char using xsl
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Finding out the ascii value of a char using xsl
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 31 Oct 2001 15:27:55 GMT
- References: <F2220lfepHjon60TMZQ0000346d@hotmail.com>
- Reply-To: xsl-list at lists dot mulberrytech dot com
> I will use this to cut out all values which are less than 32 from a string.
>
> If there is some better way of doing this than the recursive solution I have
> in mind, I would gladly recieve such a solution.
the only values less than 32 are 9, 10 and 13, so you can just use
translate(.,'	 ','')
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list