xsl-list
[Top] [All Lists]

Re: collapsing number ranges

2004-08-31 02:06:39

Well, you (and future maintainers of your code) might find the
substring() version less obscure.

It's odd that: it wouldn't have occurred to me to use a string function
to get the last digit, certainly if you were using a language other than
xslt1 (which has a habit of coercing silently between numbers and
strings) I would have thought that using arithemetic operators
would have been far more natural than using string operations.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


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