Salut,
Je veux afficher sur mon site la page XML suivante :
http://www.who.int/feeds/entity/mediacentre/news/releases/ar/rss.xml
avec la page XSL suivante :
<?xml version="1.0" encoding="utf-8" ?>
<xsl:stylesheet version="1.0" xmlnssl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html"/>
<xsl:template match="/rss" >
<html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar" xml:lang="ar">
<body>
<xsl:for-each select="channel">
<div class="channel">
<h3><xsl:value-of select="title" /></h3>
<ul>
<xsl:for-each select="item">
<li><a href="{link}"><xsl:value-of select="title" /></a></li>
</xsl:for-each>
</ul>
</div>
</xsl:for-each>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Mais on m'affiche sur le navigateur que le caractère "?" et les caractères arabe ne s'affiche pas !!
comment faire ??
Merci.
Partager