j'ai un probléme lors du chargement du la page sous IE11 et firefox 27
Fichier XSL :
------------
Fichier XML :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 <?xml version='1.0'?> <xsl-stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl"> <xsl:template match="/"> <html> <body> <table border="1" cellspacing="0" cellpadding="3"> <tr bgcolor="#FFFF00"> <td>Artiste</td> <td>Titre</td> </tr> <xsl:for-each select="compilation/mp3" order-by="+Artiste"> <tr> <td><xsl:value-of select="artiste"/></td> <td><xsl:value-of select="titre"/></td> </tr> </xsl:for-each> </table> </body> </html> </xsl:template> </xsl-stylesheet>
------------
il doit m'afficher un tableau mais il m'affiche ça
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <?xml version="1.0"?> <?xml-stylesheet type="text/xsl" href="xsl_order.xsl"?> <compilation> <mp3> <titre>Foule sentimentale</titre> <artiste>Alain Souchon</artiste> </mp3> <mp3> <titre>Solaar pleure</titre> <artiste>MC Solaar</artiste> </mp3> <mp3> <titre>Le baiser</titre> <artiste>Alain Souchon</artiste> </mp3> <mp3> <titre>Pourtant</titre> <artiste>Vanessa Paradis</artiste> </mp3> <mp3> <titre>Chambre avec vue</titre> <artiste>Henri Salvador</artiste> </mp3> </compilation>
![]()
Partager