Re: [xsl] absolute position() of TEI pb

Subject: Re: [xsl] absolute position() of TEI pb
From: "Martin Honnen martin.honnen@xxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 20 Jun 2016 18:00:36 -0000
On 20.06.2016 19:54, Steven D Majewski steve.majewski@xxxxxxxxx wrote:

You can use
 <xsl:variable name="pos" as="xs:integer">
   <xsl:number level="any"/>
 </xsl:variable>


Thanks! I was thinking I needed a magic xpath or function

You could also use count(. | preceding::pb)

Current Thread