Problème pour afficher le contenu d'un fichier xml en html
Bonjour,
J'ai fais un petit bout de code html qui affiche certains champs d'un fichier xml. Ce fichier xml est récupéré sur un site web parce qu'il est mis à jour tous les jours.
Le problème est que ça fonctionne avec ie 7 seulement, mais pas avec ie 8, ni chrome, ni firefox ...
Voici le code :
Code:
1 2 3 4 5 6 7 8 9 10 11
| <xml version="1.0" encoding="ISO-8859-1"
id="fichierxml"
src="http://www.islamicfinder.org/prayer_service.php?country=france&city=sallanches&state=B9&zipcode=&latitude=45.9333&longitude=6.6333&timezone=1&HanfiShafi=1&pmethod=1&fajrTwilight1=10&fajrTwilight2=10&ishaTwilight=10&ishaInterval=30&dhuhrInterval=1&maghribInterval=1&dayLight=1&simpleFormat=xml"></xml>
<table datasrc="#fichierxml">
<tbody>
<tr>
<td><small><span datafld="hijri"></span></td>
</tr>
</tbody>
</table> |
Et voici le fichier xml :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| <prayer>
<fajr>4:21</fajr>
<sunrise>
6:23</sunrise>
<dhuhr>
1:40</dhuhr>
<asr>
5:39</asr>
<maghrib>
8:55</maghrib>
<isha>
10:50</isha>
<date>August 7, 2009</date>
<hijri>16 Shaban 1430</hijri>
<city>Sallanches</city>
<country>France</country>
<website>www.IslamicFinder.org</website>
</prayer> |
Si quelqu'un peut m'aider... ça serait vraiment gentil !