xsl-list
[Top] [All Lists]

Finding deepest node

2005-12-02 12:24:08
I have a structure where I for example need to do the following:

.//node[(_at_)a = 'avalue']/@id

If I get multiple hits I only want to select the node that is farthest away from the context node. How would I do this with a single xpath? Is it possible at all?

/Marcus


--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



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