This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Function position()
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: [xsl] Function position()
- From: Paul Terray <terray at 4dconcept dot fr>
- Date: Thu, 01 Feb 2001 12:53:52 +0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
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@4dconcept.fr
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list