[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Re: [xsl] Function position()
Subject: Re: [xsl] Function position()
From: Paul Terray <terray@xxxxxxxxxxxx>
Date: Thu, 01 Feb 2001 12:53:52 +0000
|
At 12:33 01/02/01 +0100, you wrote:
I used the following:
<xsl:template match"StretchText">
<xsl:value-of select="position()"/> ---> THIS doesn't work in my
case.
</xsl:template>
use :
<xsl:template match"StretchText">
<xsl:variable name="pos">
<xsl:number level="any"/>
</xsl:variable>
<xsl:value-of select="$pos"/>
</xsl:template>
Should work.
Paul
--
Paul TERRAY - Ingénieur Systèmes Documentaires
4Dconcept
Centre d'affaires - 22, rue Etienne de Jouy
78353 Jouy en Josas CEDEX
Tel. 01 34 58 70 70 - Fax. 01 39 46 06 90
email : terray@xxxxxxxxxxxx
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|