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/dict">
12 <xsl:template match="info">
14 <xsl:if test="@bookmark = 'true'">
15 <img src="$STAR$" width="16" height="16"/>
17 <xsl:value-of select="."/>
21 <xsl:template match="key">
22 <div class="key"><xsl:value-of select="."/></div>
25 <xsl:template match="t">
26 <div class="cell"><xsl:apply-templates/></div>
29 <xsl:template match="tr">
30 [<span class="i"><xsl:apply-templates/></span>]
33 <xsl:template match="pos">
34 (<span><xsl:apply-templates/></span>)
37 <xsl:template match="pot">
38 ,<span class="i"><xsl:apply-templates/></span>
41 <xsl:template match="tence">
42 ,<span class="i"><xsl:apply-templates/></span>
45 <xsl:template match="def">
46 ,(<xsl:apply-templates/>)
49 <xsl:template match="ex">
50 ,"<xsl:apply-templates/>"
53 <xsl:template match="b">
54 <span class="b"><xsl:apply-templates/></span>
57 <xsl:template match="u">
58 <span class="u"><xsl:apply-templates/></span>
61 <xsl:template match="i">
62 <span class="i"><xsl:apply-templates/></span>
65 <xsl:template match="c">
66 <xsl:variable name="atr" select="@c"/>
67 <font color="{$atr}"> <xsl:apply-templates/></font>
70 <xsl:template match="br">