Je suis un débutant au monde XSL et face à quelques problèmes avec XSLXSL + Java Script problème ... Impossible d'appeler la fonction javascript à partir du fichier xsl
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:template match="/">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" type="text/css" href="mycss.css" />
<script language="javascript" type="text/javascript" >
<xsl:text></xsl:text>
</script>
</head>
<body>
<table>
<tr bgcolor='yellow' onMouseover="changeColor(event, 'red');"> MYTEXT
</tr>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
et mon fichier XML est
<COUNTRY>
<CITY>X</CITY>
<CITY>Y</CITY>
</COUNTRY>
et mon fichier Javascript est
problème n'est pas la souris sur, couleur ne change dans le navigateur ........
Qu'est-ce que cela a exactement à voir avec Java? – Calvin