Remplacement ce caractères

François <[email protected]> Sat, 05 Jul 2008 19:55:24 +0200
Newsgroups gmane.text.xml.french.tech
Message-ID <[email protected]>
Environnement [oXygen 9.3  - XSLT 2 - moteur Saxon 9B]
=20
Je cherche =E0 positionner des espaces ins=E9cables :=20
<xsl:template match=3D"text()">
    <xsl:value-of select=3D"replace(replace(replace(.,'=AB ',&#171;&#160;=
),'=20
=BB',&#160;&#187;),' :',&#160;&#58;)"/>
 </xsl:template>

=C7a marche. Mon probl=E8me survient pour le point d'interrogation :

<xsl:template match=3D"text()">
    <xsl:value-of select=3D"replace(.,' ?',&#160;?)"/>
 </xsl:template>

J'obtiens le message d'erreur : /The regular expression in replace()=20
must not be one that matches a zero-length string
/Quelqu'un a-t-il une astuce pour contourner le probl=E8me?

Merci d'avance
F.
/
/