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="/">
5 <table border="1" width="100%">
6 <xsl:for-each select="ar/dict">
12 <xsl:template match="info">
13 <xsl:variable name="path" select="@path"/>
16 <xsl:if test="@bookmark = 'true'">
17 <img src="$STAR$" width="16" height="16"/>
19 <xsl:value-of select="."/> <img src="{$path}" height="16"/>
24 <xsl:template match="key">
26 <th class="key"><xsl:value-of select="."/></th>
30 <xsl:template match="t">
32 <td><xsl:apply-templates/></td>
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">
82 <xsl:template match="table">
84 <xsl:apply-templates/>
88 <xsl:template match="tr">
90 <xsl:apply-templates/>
94 <xsl:template match="td">
96 <xsl:apply-templates/>