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 <body bgcolor="#FF0000">
7 <table border="1" WIDTH="100%">
8 <xsl:for-each select="ar/dict">
16 <xsl:template match="info">
17 <!-- <xsl:variable name="path" select="info/@path"/>-->
18 <tr bgcolor="#99FF99">
20 <xsl:if test="@bookmark = 'true'">
21 <img src="mydata://image.png"/>
23 <xsl:value-of select="."/> <!-- <img src="{$path}"/> -->
28 <xsl:template match="key">
29 <tr bgcolor="#99CCFF">
30 <th><xsl:value-of select="."/></th>
34 <xsl:template match="t">
36 <td><xsl:apply-templates/></td>
40 <xsl:template match="tr">
41 [<i><xsl:apply-templates/></i>]
44 <xsl:template match="pot">
45 ,<i><xsl:apply-templates/></i>
48 <xsl:template match="tence">
49 ,<i><xsl:apply-templates/></i>
52 <xsl:template match="def">
53 ,(<xsl:apply-templates/>)
56 <xsl:template match="ex">
57 ,"<xsl:apply-templates/>"
60 <xsl:template match="c">
61 <xsl:variable name="atr" select="@c"/>
62 <font color="{$atr}"> <xsl:apply-templates/> </font>