This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

: Finding the deepest node(s)


Is there an XPath to find the deepest node(s) in some xml, ie the node(s)
with more parents than any others?

The aim is to find what 'level' the xml goes down to. Obviously it can be
done with a recursive template, but I was just wondering if there was an
Xpath solution.

Regards,
Tom


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]