1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
|
<xsl:apply-template select="="//cours/promotions/promo">
<xsl:sort select="."/>
</xsl:apply-template >
....
<xsl:template match="promo">
<!-- affichage des cours -->
<tr>
<td>
<xsl:value-of select="."/>
</td>
<td>
<xsl:value-of select="../../intitule"/>
</td>
<td>
<xsl:value-of select="../../jour"/>
</td>
<td>
<xsl:value-of select="../../../intervenant[@nom]"/>
</td>
<td>
<xsl:value-of select="../../salle"/>
</td>
<td>
<xsl:value-of select="../../heuredébut"/>
</td>
<td>
<xsl:value-of select="../../heurefin"/>
</td>
<td>
<xsl:value-of select="../../dureeEffective"/>
Heure
</td>
</tr>
</xsl:template> |