1<?xml version="1.0"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 3 <xsl:variable name="my.var">old-value</xsl:variable> 4 <xsl:variable name="my.var">the-value</xsl:variable> 5 <xsl:template match="/"> 6 <xsl:value-of select="$my.var"/> 7 </xsl:template> 8</xsl:stylesheet> 9