1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet version="2.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
4 <xsl:template match="/">
6 <xsl:for-each select="ar">
12 <xsl:template match="dict">
13 <div class="dict"><xsl:apply-templates/></div>
17 <xsl:template match="info">
19 <xsl:variable name="path" select="@path"/>
20 <img class="icon" src="{$path}"/>
21 <xsl:if test="@bookmark = 'true'">
22 <img src="$STAR$" width="16" height="16"/>
24 <xsl:value-of select="."/>
28 <xsl:template match="key">
29 <div class="key"><xsl:value-of select="."/></div>
32 <xsl:template match="t">
33 <div class="cell"><xsl:apply-templates/></div>
36 <xsl:template match="tr">
37 [<span class="i"><xsl:apply-templates/></span>]
40 <xsl:template match="pos">
41 (<span><xsl:apply-templates/></span>)
44 <xsl:template match="pot">
45 ,<span class="i"><xsl:apply-templates/></span>
48 <xsl:template match="tence">
49 ,<span class="i"><xsl:apply-templates/></span>
52 <xsl:template match="def">
53 ,(<xsl:apply-templates/>)
56 <xsl:template match="ex">
57 ,"<xsl:apply-templates/>"
60 <xsl:template match="b">
61 <span class="b"><xsl:apply-templates/></span>
64 <xsl:template match="u">
65 <span class="u"><xsl:apply-templates/></span>
68 <xsl:template match="i">
69 <span class="i"><xsl:apply-templates/></span>
72 <xsl:template match="c">
73 <xsl:variable name="atr" select="@c"/>
74 <font color="{$atr}"> <xsl:apply-templates/></font>
77 <xsl:template match="br">