Subject: Re: node depth
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 7 Sep 2007 12:31:59 +0100
|
> Is there any way to find out the depth of the current element in a
> recursive template? The XML is the following:
count(ancestor::*)
David
________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs.
________________________________________________________________________
|