Subject: Re: [xsl] Re: Is it possible to know position of ancestor?|
From: "J.Pietschmann" <j3322ptm@xxxxxxxx>
Date: Thu, 17 Oct 2002 22:19:23 +0200
But if you don't know name of element "line"? It should be the same name only this you know.
Perhaps select="count(../preceding-sibing::*[name()=name(current())] + 1)"