Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've for a for-each loop which is sorting on $sortOrder, however the items in the list are coming out in alphabetic order not numeric order. So in my 11 node list, I'm getting the items listed thus 1, 10, 11, 2, 3, 4, etc whereas I want the list in numeric order 1, 2, 3, 4, ..., 10, 11 I've tried two version of the XSLT.... [code]
Try this: [code] [/code] HTH, PeterD
Solved......you ruddy star!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Sort on $sortOrder
I've for a for-each loop which is sorting on $sortOrder, however the items in the list are coming out in alphabetic order not numeric order. So in my 11 node list, I'm getting the items listed thus
1, 10, 11, 2, 3, 4, etc
whereas I want the list in numeric order
1, 2, 3, 4, ..., 10, 11
I've tried two version of the XSLT....
[code]
Try this:
[code]
[/code]
HTH,
PeterD
Solved......you ruddy star!
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.