[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: alpha comparison


Subject: RE: alpha comparison
From: "Pawson, David" <DPawson@xxxxxxxxxxx>
Date: Mon, 10 Apr 2000 11:14:08 +0100

>The simplest way to check that a list of strings is in sorted 
>order is to
>sort it and see if the output equals the input. It's probably 
>possible to
>improve the following:

code snipped for brevity.

Thanks Mike, I'll study that.
Turns out that I had been losing data
for months due to this one!

There's a design pattern here.
Is the sorted output tree count 
identical to the 
unsorted input count.
(Probably another one for Schematron?)

Regards, DaveP


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread