J'ai un code du genre
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
 
<xsl:template name="c_TableColspan">
<xsl:param name="type"/>
<xsl:variable name="vartgroup" select="ancestor::tgroup"/>
<xsl:variable name="varspanspec">
 <xsl:choose>
  <xsl:when test="$type != 1"><xsl:value-of select="current()"/></xsl:when>
  <xsl:otherwise><xsl:value-of select="$vartgroup/spanspec[@spanname=current()/@spanname]"/></xsl:otherwise>
 </xsl:choose>
</xsl:variable>
<xsl:variable name="varnamest" select="$varspanspec/@namest"/>
</xsl:template>
Pourquoi la ligne
<xsl:variable name="varnamest" select="$varspanspec/@namest"/>
n'est pas valide?