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