Dans mon application Web, j'affiche les résultats de la recherche en utilisant XSLT. Il y a du texte codé en dur dans le fichier XSLT que je veux rendre indépendant de la langue.Rendre le langage XSLT indépendant
XSLT:
<xsl:if test="$IsEmpty">
<table cellpadding="5" cellspacing="0" border="1" style="width:100%;border-top-style:solid;border-bottom-style:solid;border-left-style:solid;border-right-style:solid;border-top-color:gray;border-bottom-color:gray;border-left-color:gray;border-right-color:gray;border-top-width:1px;border-bottom-width:1px;border-left-width:1px;border-right-width:1px;">
<tr>
<td style="text-align:center;">
There are no blog posts to display.
</td>
</tr>
</table>
</xsl:if>
Est-il possible de choisir le texte "There are no blog posts to display."
à partir d'un fichier de ressources?
Une grande aide. Ça a marché! Merci! – Vijay
'msxsl: script' est encore une autre option. –
Je ne vois pas comment 'msxsl: script' donnerait accès à resx; J'aimerais voir un exemple ... –