<xsl:with-param name="Entete" select="$Entete"/>
<xsl:with-param name="Titre.Plus">
<h1>Etat de réalisation des opérations</h1>
- <h2>SECTION <xsl:value-of select="//n:EnteteEtatRealisationOperations/@Section"/> - <xsl:value-of select="//n:EnteteEtatRealisationOperations/@Sens"/></h2>
+ <h2>SECTION <xsl:value-of select="//n:EnteteEtatRealisationOperations/@Section"/> - <xsl:value-of select="//n:EnteteEtatRealisationOperations/@NatureOperation | //n:EnteteEtatRealisationOperations/@Sens"/></h2>
</xsl:with-param>
</xsl:call-template>
<xsl:call-template name="mainTable">
<td class="titre bold center bordered">Intitulé</td>
<td class="titre bold center bordered">Emission<br/>1</td>
<td class="titre bold center bordered">Annulations<br/>2</td>
- <td class="titre bold center bordered"><xsl:choose><xsl:when test="contains(upper-case(//n:EnteteEtatRealisationOperations/@NatureOperation),'DEPENSE')">Dépenses</xsl:when><xsl:otherwise>Recettes</xsl:otherwise></xsl:choose> nettes<br/>3 = 1 - 2</td>
+ <td class="titre bold center bordered"><xsl:choose><xsl:when test="starts-with(upper-case(//n:EnteteEtatRealisationOperations/@NatureOperation | //n:EnteteEtatRealisationOperations/@Sens),'DEPENSE')">Dépenses</xsl:when><xsl:otherwise>Recettes</xsl:otherwise></xsl:choose> nettes<br/>3 = 1 - 2</td>
</tr>
</thead>
<tbody>