xsl-list
[Top] [All Lists]

RE: for-each sorting problem

2004-04-11 08:43:18
<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



<Prev in Thread] Current Thread [Next in Thread>