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
| <xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:alias="http://thelvin.org/xslt-alias">
<xsl:namespace-alias
stylesheet-prefix="alias"
result-prefix="xsl"/>
<xsl:template match="xsl:stylesheet">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
<alias:template match="text()">
<alias:value-of select="replace('é', 'e')"/>
</alias:template>
</xsl:copy>
</xsl:template>
<xsl:template match="node()|@*">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet> |
Partager