xsl-list
[Top] [All Lists]

Re: collapsing number ranges

2004-08-30 04:34:14

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 as
) 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: pp. iii-vi.

I guess that settles it then; better to use substrings in this case.

Bruce



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