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

[xsl] Finding deepest node


Subject: [xsl] Finding deepest node
From: marcus <m-lists@xxxxxxxxxx>
Date: Fri, 02 Dec 2005 20:24:08 +0100

I have a structure where I for example need to do the following:

.//node[@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


Current Thread
 
© 2002-2008 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy
This website was created & generated with <oXygen/> XML Editor