Subject: Re: How to find the deepest node?
From: James Fuller <jim.fuller@xxxxxxxxxxxxxx>
Date: Thu, 07 Apr 2005 18:01:26 +0200
|
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
|