[XSL-LIST Mailing List Archive Home]
[Reply To This Message]
Re: collapsing number ranges
Subject: Re: collapsing number ranges|
From: Bruce D'Arcus <bdarcus@xxxxxxxxxxxxx>
Date: Mon, 30 Aug 2004 07:34:14 -0400
On Aug 30, 2004, at 5:53 AM, J-P S wrote:
There are type-related implications: some people would say that since
) the values of $begin and $end are integers, you should process them
) integers rather than pretending that they're strings.
You'd have to look to the schema for a declaration of their integral
nature, though, wouldn't you? So unless you're specifically typing (and
worrying about that later on) then they might as well be strings.
I was just reminded that page numbers aren't always integers. Example:
I guess that settles it then; better to use substrings in this case.
PURCHASE STYLUS STUDIO ONLINE TODAY!
Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!
Download The World's Best XML IDE!
Accelerate XML development with our award-winning XML IDE - Download a free trial today!
Subscribe in XML format