select="$ctrl.id" />)#<xsl:value-of select="$ctrl.id" /></xsl:when><xsl:otherwise>&xsl:param=(ancre,)&xsl:param=(idControle,)</xsl:otherwise></xsl:choose></xsl:attribute>
<xsl:choose>
- <xsl:when test="$idControle!=$ctrl.id or $idControle=$showControles">
+ <xsl:when test="$idControle!=$ctrl.id and $idControle!=$showControles">
<img src="xemelios:/resource?rapport_fleche_bas2.png"
title="Déplier" />
</xsl:when>
</xsl:attribute>
<xsl:choose>
- <xsl:when test="$elementId=$id"><img src="xemelios:/resource?rapport_fleche_haut.png" title="Plier" /></xsl:when>
+ <xsl:when test="$elementId=$id or $idControle=$showControles"><img src="xemelios:/resource?rapport_fleche_haut.png" title="Plier" /></xsl:when>
<xsl:otherwise><img src="xemelios:/resource?rapport_fleche_bas.png" title="Déplier" /></xsl:otherwise>
</xsl:choose>
</xsl:element>
<xsl:for-each select="distinct-values($anomalies/n:Anomalie[n:IdElementImportable/@n:V=$id]/n:IdCtrl/@n:V)">
<xsl:variable name="ctrl.id" select="."/>
<xsl:variable name="ctrl.libelle">
- <xsl:if test="$elementId=$id"><xsl:value-of select="distinct-values($anomalies/n:Anomalie[n:IdElementImportable/@n:V=$id][n:IdCtrl/@n:V=$ctrl.id]/n:LibelleCtrl/@n:V)"/></xsl:if>
+ <xsl:if test="$elementId=$id or $idControle=$showControles"><xsl:value-of select="distinct-values($anomalies/n:Anomalie[n:IdElementImportable/@n:V=$id][n:IdCtrl/@n:V=$ctrl.id]/n:LibelleCtrl/@n:V)"/></xsl:if>
<xsl:if test="$elementId='SIGN'"><xsl:value-of select="distinct-values($anomalies/n:Anomalie[n:ElementImportable/@n:V='Signature'][n:IdCtrl/@n:V=$ctrl.id]/n:LibelleCtrl/@n:V)"/></xsl:if>
</xsl:variable>
<xsl:variable name="ctrl.nb.anos">
- <xsl:if test="$elementId=$id"><xsl:value-of select="count($anomalies/n:Anomalie[n:IdElementImportable/@n:V=$id][n:IdCtrl/@n:V=$ctrl.id])"/></xsl:if>
+ <xsl:if test="$elementId=$id or $idControle=$showControles"><xsl:value-of select="count($anomalies/n:Anomalie[n:IdElementImportable/@n:V=$id][n:IdCtrl/@n:V=$ctrl.id])"/></xsl:if>
<xsl:if test="$elementId='SIGN'"><xsl:value-of select="count($anomalies/n:Anomalie[n:ElementImportable/@n:V='Signature'][n:IdCtrl/@n:V=$ctrl.id])"/></xsl:if>
</xsl:variable>
<tr>
select="$ctrl.id" />)#<xsl:value-of select="$ctrl.id" /></xsl:when><xsl:otherwise>&xsl:param=(ancre,)&xsl:param=(idControle,)</xsl:otherwise></xsl:choose></xsl:attribute>
<xsl:choose>
- <xsl:when test="$idControle!=$ctrl.id">
- <img src="xemelios:/resource?rapport_fleche_bas2.png"
- title="Déplier" />
+ <xsl:when test="$idControle=$ctrl.id or $idControle=$showControles">
+ <img src="xemelios:/resource?rapport_fleche_haut2.png"
+ title="Plier" />
</xsl:when>
<xsl:otherwise>
- <img src="xemelios:/resource?rapport_fleche_haut2.png"
- title="Plier" />
+ <img src="xemelios:/resource?rapport_fleche_bas2.png"
+ title="Déplier" />
</xsl:otherwise>
</xsl:choose>
</tr>
- <xsl:if test="$idControle=$ctrl.id or $idControle=$showControles">
+ <xsl:if test="$idControle=$ctrl.id or $idControle=$showControles">
<tr></tr>
<tr>
<td colspan="5">