This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: alpha comparison


>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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]