You can certainly insert the value of the same variable twice or even more times with e.g.
Code:
<xsl:value-of select="$varname"/>
<xsl:value-of select="$varname"/>
The error message sounds more as if you define the same variable twice in the same template with xsl:variable or xsl:param.
--
Martin Honnen
Microsoft MVP - XML