Formatting a phone number using xsl

We have no choice but to use a "for-each" loop to display multiple 
fields that compose the phone number.  
We want the "-" to act as the separation character. 
But when we do so, we get this result, for ex: 011-1-666-7777-

How can we prevent from having the last "-".

Thank you
L. Tanguay 


<xsl:template match="phone">
   <xsl:for-each select="*">
      <xsl:value-of select="@value"/>
      <xsl:text>-</xsl:text>
   </xsl:for-each>
</xsl:template>


E-MAIL : ltanguay@minacom.com

Received on Friday, 31 May 2002 11:08:51 UTC