xsl-list
[Top] [All Lists]

getting the longest text node

2003-03-11 14:35:49

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



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