<xsl:template match="/">
<html>
- <body>
- <table border="1" WIDTH="100%">
- <tr bgcolor="#99CCFF">
- <th><xsl:value-of select="ar/dict[1]/key"/></th>
- </tr>
- <xsl:for-each select="ar/dict">
- <!-- <xsl:variable name="path" select="info/@path"/>-->
- <tr bgcolor="#99FF99">
- <th><xsl:value-of select="info"/> <!-- <img src="{$path}"/> --></th>
- </tr>
- <xsl:for-each select="t">
- <tr>
- <td><xsl:apply-templates/></td>
- </tr>
- </xsl:for-each>
- </xsl:for-each>
- </table>
+ <body bgcolor="#FF0000">
+ <table border="1" WIDTH="100%">
+ <xsl:for-each select="ar/dict">
+ <xsl:apply-templates/>
+ </xsl:for-each>
+ </table>
</body>
</html>
</xsl:template>
+<xsl:template match="info">
+ <!-- <xsl:variable name="path" select="info/@path"/>-->
+ <tr bgcolor="#99FF99">
+ <th><xsl:value-of select="."/> <!-- <img src="{$path}"/> --></th>
+ </tr>
+</xsl:template>
+
+<xsl:template match="key">
+ <tr bgcolor="#99CCFF">
+ <th><xsl:value-of select="."/></th>
+ </tr>
+</xsl:template>
+
+<xsl:template match="t">
+ <tr>
+ <td><xsl:apply-templates/></td>
+ </tr>
+</xsl:template>
+
<xsl:template match="tr">
[<i><xsl:apply-templates/></i>]
</xsl:template>