Subject: Re: [xsl] Ranking Random Nodes from Top to Bottom|
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Fri, 17 Aug 2007 15:24:31 +0200
There are about 20 different elements in my files. I have not counted yet the precise figure.
You are right, I would have trouble sorting /root/a and /root/b.
It is better to log the string length from root to the beginning of each particular node,
and then use that number to rank the elements from Top to Bottom.
In fact, that is what I want to do. What be your recommendation to do that?
root/cba root/z root/longnodename root/_short
into: root/z root/cba root/_short root/longnodename
Cheers, -- Abel Braaksma