1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
| <?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="html" version="4.0" encoding="iso-8859-1" indent="yes"/>
<xsl:template match="/">
<html>
<head>
<link rel="stylesheet" href="../stylesheets/lexiquepro.css" type="text/css"/>
<script src="../javascript/hi.js" type="text/javascript"></script>
<script src="../javascript/BatmoAudioPop.js" type="text/javascript"></script>
</head>
<body>
<xsl:apply-templates select="database/sf"/>
</body>
</html>
</xsl:template>
<xsl:template match="sf">
<!-- Récupération du contenu du premier "lx" avant le "sf" actuel -->
<b><xsl:value-of select="preceding-sibling::lx[1]"/></b>
<!-- Récupération du contenu du "sf" actuel -->
<a href="{.}" target="_blank" onclick="javascript:BatmoAudioPop('Audio_file',this.href,'1'); return false"><img src="../images/sound-icon.png" border="0"/></a>
</xsl:template>
</xsl:stylesheet> |
Partager