xsl-list
[Top] [All Lists]

Re: How to find the deepest node?

2005-04-07 09:01:26
Bert wrote:

Hi,

I have the following XML-file (see below) and I need to find the deepest
node of 'title'.
The resultfile should only contain the titles 'Text 02' and 'Text 03',
because they are in this case the deepest nodes. The next XML-file I receive
may contain more nested levels of items and whatever the level of nesting I
only need to find the deepest titles.
I know I have to do something with recurse, but I don't know how to start.
Who can help me on this one?

 

this tidbit from wendell should help
http://www.xslt.com/html/xsl-list/2002-05/msg00612.html

also dont forget about fxsl.

--Jim Fuller


--~------------------------------------------------------------------
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>