<xsl:template match="/">
<html>
- <head>
- <link rel="stylesheet" type="text/css" href="styles.css" />
- </head>
- <body>
- <table>
- <xsl:for-each select="ar/dict">
+ <head>
+ <link rel="stylesheet" type="text/css" href="styles.css" />
+ </head>
+ <body>
+ <table border="1" width="100%">
+ <xsl:for-each select="ar/dict">
<xsl:apply-templates/>
- </xsl:for-each>
- </table>
- </body>
+ </xsl:for-each>
+ </table>
+ </body>
</html>
</xsl:template>
<xsl:template match="info">
- <!-- <xsl:variable name="path" select="info/@path"/>-->
<tr>
<th class="info">
<xsl:if test="@bookmark = 'true'">
<xsl:template match="t">
<tr>
- <td><xsl:apply-templates/></td>
+ <td><xsl:apply-templates/></td>
</tr>
</xsl:template>
<xsl:template match="tr">
- [<p><xsl:apply-templates/></p>]
+ [<span class="i"><xsl:apply-templates/></span>]
</xsl:template>
<xsl:template match="pos">
- (<p><xsl:apply-templates/></p>)
+ (<span><xsl:apply-templates/></span>)
</xsl:template>
<xsl:template match="pot">
- ,<p><xsl:apply-templates/></p>
+ ,<span class="i"><xsl:apply-templates/></span>
</xsl:template>
<xsl:template match="tence">
- ,<p><xsl:apply-templates/></p>
+ ,<span class="i"><xsl:apply-templates/></span>
</xsl:template>
<xsl:template match="def">
,"<xsl:apply-templates/>"
</xsl:template>
+<xsl:template match="b">
+ <span class="b"><xsl:apply-templates/></span>
+</xsl:template>
+
+<xsl:template match="u">
+ <span class="u"><xsl:apply-templates/></span>
+</xsl:template>
+
+<xsl:template match="i">
+ <span class="i"><xsl:apply-templates/></span>
+</xsl:template>
+
<xsl:template match="c">
<xsl:variable name="atr" select="@c"/>
<font color="{$atr}"> <xsl:apply-templates/></font>