|
Subject: Re: [xsl] XPath expression for finding out the depth of a given node? From: David Carlisle <davidc@xxxxxxxxx> Date: Sun, 17 Nov 2002 20:17:35 GMT |
Is there a XPath expression for finding out the depth of a given node (or just the context node) in the document? count(ancestor::*) maybe + 1 depending on how you want to count. David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] XPath expression for find, Peter Davis | Thread | [xsl] Validating XML Using XSD..., XSL List |
| Re: [xsl] XPath expression for find, Peter Davis | Date | Re: [xsl] XPath expression for find, Peter Davis |
| Month |