xsl-list
[Top] [All Lists]

Re: Node Position & Relationship!

2005-02-11 10:25:08
Yes, of-course, you right, i was talking of my case, not the original
post, so your solution is more accurate than mine if he really want to
know the top level and not the inner ones.


On Fri, 11 Feb 2005 09:09:59 -0800 (PST), David Carlisle
<davidc(_at_)nag(_dot_)co(_dot_)uk> wrote:

But i want the $level to be the actual level, 0, 1, 2, ...

Oh, that wasn't apparent in the code snippet to which I replied, or in
the start of this thread which said that the problem was to test for the
top of the tree:


Given the following xml structure, I want to create
an xsl if element that
tests the current node to see if it is a level 0
tree_node element.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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



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