RE: [xsl] for-each sorting problem

Subject: RE: [xsl] for-each sorting problem
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Sun, 11 Apr 2004 16:43:18 +0100
<xsl:for-each select="*[starts-with(name(), 'ID_')">
  <xsl:sort select="../*[name() = concat('NAME_',
substring-after(name(current()), "_")]"/> 

But if you have any influence over the design of the XML, try to get it
changed to something more natural.

Michael Kay

Current Thread