This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Function position()


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]