This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: alpha comparison
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: alpha comparison
- From: "Pawson, David" <DPawson at rnib dot org dot uk>
- Date: Mon, 10 Apr 2000 11:14:08 +0100
- Reply-To: xsl-list at mulberrytech dot com
>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