[xsl] Ranking Random Nodes from Top to Bottom

Subject: [xsl] Ranking Random Nodes from Top to Bottom
From: "J. Zhang" <j.zhang@xxxxxx>
Date: Fri, 17 Aug 2007 12:45:42 +0200
Hi all,

I got a long list of absolute xpath paths in a flat file, like

/root[1]/node[2]/node[12]/node[1]
/root[1]/node[1]
/root[1]/node[2]/node[12]/node[1]
/root[1]/node[4]/node[12]
/root[1]

Is there an existing function in Saxon or ready-made code to rank the list of nodes from top to bottom?

Thanks by advance!
  jz

Current Thread