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="/">
7 <link rel="stylesheet" type="text/css" href="styles.css" />
11 <xsl:for-each select="ar/dict">
12 <xsl:apply-templates/>
19 <xsl:template match="info">
20 <!-- <xsl:variable name="path" select="info/@path"/>-->
23 <xsl:if test="@bookmark = 'true'">
24 <img src="mydata://image.png"/>
26 <xsl:value-of select="."/> <!-- <img src="{$path}"/> -->
31 <xsl:template match="key">
33 <th class="key"><xsl:value-of select="."/></th>
37 <xsl:template match="t">
39 <td><xsl:apply-templates/></td>
43 <xsl:template match="tr">
44 [<p><xsl:apply-templates/></p>]
47 <xsl:template match="pos">
48 (<p><xsl:apply-templates/></p>)
51 <xsl:template match="pot">
52 ,<p><xsl:apply-templates/></p>
55 <xsl:template match="tence">
56 ,<p><xsl:apply-templates/></p>
59 <xsl:template match="def">
60 ,(<xsl:apply-templates/>)
63 <xsl:template match="ex">
64 ,"<xsl:apply-templates/>"
67 <xsl:template match="c">
68 <xsl:variable name="atr" select="@c"/>
69 <font color="{$atr}"> <xsl:apply-templates/></font>
72 <xsl:template match="table">
74 <xsl:apply-templates/>
78 <xsl:template match="tr">
80 <xsl:apply-templates/>
84 <xsl:template match="td">
86 <xsl:apply-templates/>