[xsl] Collation for dotted decimal?

Subject: [xsl] Collation for dotted decimal?
From: cknell@xxxxxxxxxx
Date: Mon, 06 Feb 2006 13:53:46 -0500
Given a set of numbers such as the list below, is there a collation for sorting these in such a way that, for example, 3.3.1.1.11 comes after 3.3.1.1.2?

The numbers are the text nodes of a set of elements produced with an <xsl:for-each-group>.


3.1.1.3.1
3.1.1.3.2.4.2
3.1.1.3.4
3.2.1.1.7.3.8
3.4.4.1.10
3.4.4.1.11
3.1.1.3.7
3.1.1.3.8
3.1.1.3.9
3.1.1.3.10
3.1.1.3.11
3.1.1.4.1.1
3.1.1.4.1.2
3.1.1.4.1.3
3.1.1.4.1.4
3.1.1.4.1.5
3.1.1.4.1.6
3.1.1.4.1.7
3.1.1.4.1.8
3.1.1.3.2.2
3.1.1.1.1.1.17
-- 
Charles Knell
cknell@xxxxxxxxxx - email

Current Thread