Subject: Re: [xsl] Re: Is it possible to know position of ancestor? From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 17 Oct 2002 23:37:45 +0100 |
> But if you don't know name of element "line"? you know, it helps if you don't change the question every time you get an answer.... select="count(../preceding-sibing::*[name()=name(current()/..)] + 1)" 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] Re: Is it possible to kno, James Carlyle | Thread | Re: [xsl] Re: Is it possible to kno, David Carlisle |
Re: [xsl] Re: Is it possible to kno, David Carlisle | Date | Re: [xsl] check if a node is empty, David Carlisle |
Month |