RE: [xsl] The longest node in a node set

Subject: RE: [xsl] The longest node in a node set
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Fri, 19 Jul 2002 16:13:57 +0100
> Is it just me, or does that seem to defeat the objective?
> I would want the node, not its length?

You might want either. The original question was phrased ambiguously. In
the XPath 2.0 solution, you have to find the maximum value, and then
select the node that has that value.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread