This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: The longest node in a node set
- From: "Michael Kay" <michael dot h dot kay at ntlworld dot com>
- To: <xsl-list at lists dot mulberrytech dot com>
- Date: Fri, 19 Jul 2002 16:13:57 +0100
- Subject: RE: [xsl] The longest node in a node set
- Reply-to: xsl-list at lists dot mulberrytech dot com
> 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@ntlworld.com
work: Michael.Kay@softwareag.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list