[xsl] getting the longest text node

Subject: [xsl] getting the longest text node
From: florian <csshsh@xxxxxxxxxxxxxxx>
Date: 11 Mar 2003 22:35:49 +0100
hi!

i have a xml document like this:


<root>
  <foo>
    <apple>a</apple>
    <orange>oiasd</orange>
  </foo>
  <foo>
    <apple>hellooooo</apple>
    <orange>test</orange>
  </foo>
</root>

what would be the most performant and best way to get
the longest text of a apple node, and the longest text
of a orange node?

thanks alot!

ciao!
florian


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


Current Thread