Re: [xsl] node depth

Subject: Re: [xsl] 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. 
________________________________________________________________________

Current Thread
  • [xsl] node depth
    • Bernie - Fri, 7 Sep 2007 13:26:28 +0200
      • David Carlisle - Fri, 7 Sep 2007 12:31:59 +0100 <=
        • Bernie - Fri, 7 Sep 2007 13:37:55 +0200
      • Abel Braaksma - Fri, 07 Sep 2007 13:42:15 +0200
        • Bernie - Fri, 7 Sep 2007 14:04:00 +0200
      • <Possible follow-ups>
      • Scott Trenda - Thu, 13 Sep 2007 12:15:50 -0500