Lothar: onmouseover in xsl funktioniert nicht

Beitrag lesen

XSL:

<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:fx="#fx-functions" exclude-result-prefixes="msxsl fx">
      <xsl:variable name="var_bez_Satz_01" select="/dataroot/texte_ger/bez_Satz_01"/>
...
      <xsl:variable name="var_bez_Satz_77" select="/dataroot/texte_ger/bez_Satz_77"/>

<xsl:output method="html" version="4.0" indent="yes" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"/>
 <xsl:template match="//dataroot" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <html>
   <head>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8"/>
    <title>Version</title>

<link rel="stylesheet" type="text/css" media="screen" href="common/css/screen.css"/>
  <link rel="stylesheet" type="text/css" media="print" href="common/css/print.css"/>
  <script src="common/js/common.js" type="text/javascript"></script>
   </head>
   <body>
  <div id="content">
    <div class="col4">

<table class="data zebra">

<tr>
      <th class="col2"><xsl:value-of select="$var_bez_Satz_41"/></th>
      <th class="col9"></th>
    </tr>
    <xsl:for-each select="version">
    <xsl:value-of select="fx:CacheCurrentNode(.)"/>
      <xsl:variable name="curr_version"><xsl:value-of select="Version"/></xsl:variable>
       <tr>
        <td><a href="versionen/{$curr_version}/all.xml#info" target="main"><xsl:value-of select="Bezeichnung"/><img src="../../common/img/trans.gif" height="10px"/><xsl:value-of select="Version"/></a></td>
        <td>
        <a onMouseOver="img_print.src='common/img/printer_grey.gif';" target="drucken" href="versionen/{$curr_version}/print.xml"   onMouseOut="img_print.src='common/img/printer_white.gif';">
        <img name="img_print" src="common/img/printer_white.gif" height="14" border="0"/>
        </a>
        </td>

</tr>
      </xsl:for-each>

</table>

</div>

</div>

</body>
  </html>

</xsl:template>