[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Finding last node in recursive tree


Subject: Re: [xsl] Finding last node in recursive tree
From: Jeff Kenton <jkenton@xxxxxxxxxxxxx>
Date: Thu, 07 Aug 2003 16:39:12 -0400

Woosley, David wrote:
Thanks, but you're missing a key point.  The only common ancestor of all
<dataset> nodes is the root node.  Look at this diagram ...

report
  dataset
    dataset
  dataset
    dataset
      dataset
  dataset
    DATASET

I need to know when I'm starting the 'DATASET' that appears in caps -- the
very last dataset node regardless of depth.


how about (//dataset)[last()]


--

--------------------------
Jeff Kenton
DataPower Technology, Inc.



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



Current Thread