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
|
<xsl:when test="contains(translate(name(current()),$translate-from,$translate-to),'auteur')">
<xsl:call-template name="auteur"/>
</xsl:when>
<xsl:template name="auteur" match="//Emph[contains(@cstyle,'auteur')]">
<xsl:choose>
<xsl:when test="Emph[contains(@cstyle,'auteur')]">
<auteur>
<xsl:apply-templates />
</auteur>
</xsl:when>
<xsl:when test="Emph[contains(@cstyle,'biographie')]">
<biographie>
<xsl:apply-templates />
</biographie>
</xsl:when>
<xsl:otherwise>
<auteur_si_pas_sousbalise>
<xsl:value-of select="."/>
</auteur_si_pas_sousbalise>
</xsl:otherwise>
</xsl:choose>
</xsl:template> |
Partager