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">
15 <xsl:if test="@bookmark = 'true'">
16 <img src="$STAR$" width="16" height="16"/>
18 <xsl:value-of select="."/> <!-- <img src="{$path}"/> -->
23 <xsl:template match="key">
25 <th class="key"><xsl:value-of select="."/></th>
29 <xsl:template match="t">
31 <td><xsl:apply-templates/></td>
35 <xsl:template match="tr">
36 [<span class="i"><xsl:apply-templates/></span>]
39 <xsl:template match="pos">
40 (<span><xsl:apply-templates/></span>)
43 <xsl:template match="pot">
44 ,<span class="i"><xsl:apply-templates/></span>
47 <xsl:template match="tence">
48 ,<span class="i"><xsl:apply-templates/></span>
51 <xsl:template match="def">
52 ,(<xsl:apply-templates/>)
55 <xsl:template match="ex">
56 ,"<xsl:apply-templates/>"
59 <xsl:template match="b">
60 <span class="b"><xsl:apply-templates/></span>
63 <xsl:template match="u">
64 <span class="u"><xsl:apply-templates/></span>
67 <xsl:template match="i">
68 <span class="i"><xsl:apply-templates/></span>
71 <xsl:template match="c">
72 <xsl:variable name="atr" select="@c"/>
73 <font color="{$atr}"> <xsl:apply-templates/></font>
76 <xsl:template match="br">
81 <xsl:template match="table">
83 <xsl:apply-templates/>
87 <xsl:template match="tr">
89 <xsl:apply-templates/>
93 <xsl:template match="td">
95 <xsl:apply-templates/>