Re: [xml-dev] How to declare a int variable in XSL

From
Thomas B. Passin <>
To
Date
2002-06-07T13:22:43Z
ID
<003c01c20e26$684f78a0$f6193044@tbp>
Thread
Re: [xml-dev] How to declare a int variable in XSL
[David Carlisle]

> 
> xsl-list is a better list than xml-dev for xsl questions.
> 
> > Do anyone know how to declare a int variable in XSL.
> xsl (Xpath) does not have an integer type.
> 
> > i want to put some delimeter for each iteration in <xsl:for-each>
> > except the first iteration.
> <xsl:if test="position() &gt; 1"> .....
> 

Not with xsl:for-each, though.  Position() would always be 1.

Tom P