[xsl] sort problem

Subject: [xsl] sort problem
From: "Craig Kattner" <CKattner@xxxxxxxxxxxxxx>
Date: Fri, 21 Mar 2003 15:42:12 -0600
Sorry for not including samples, but the code is a bit more than I like posting.

http://www.intermatic.com/temp/96-1.xml Source document
http://www.intermatic.com/temp/96-2.xsl Stylesheet
http://www.intermatic.com/temp/96-2.html Output document (actual)
http://www.intermatic.com/temp/96-2-expected.html Output document (expected)

If you look at the bottom of the output you can see the column on the left is ordered 5, 15, 30, 60, 360, 720, 120, 240. It should be in ascending order though. Why doesn't line 51 in the stylesheet sort them in the expected order?

Secondly, I need to set the colspan property on the switch types (line 24) and finish types (line 28). But I don't see how I can count the children using the grouping method I'm using here. Any pointers would be appreciated.

Craig


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


Current Thread