add information about bookmark to translation (in toHtml())
[mdictionary] / trunk / src / base / xsl.xsl
index 54c041f..31f549e 100644 (file)
 <xsl:template match="info">
        <!-- <xsl:variable name="path" select="info/@path"/>-->
        <tr bgcolor="#99FF99">
-       <th><xsl:value-of select="."/> <!-- <img src="{$path}"/> --></th>
+               <th>            
+               <xsl:if test="@bookmark = 'true'">
+                       BOOKMARK:                       
+               </xsl:if>
+               <xsl:value-of select="."/> <!-- <img src="{$path}"/> -->
+               </th>
        </tr>
 </xsl:template>
 
 <xsl:template match="key">
        <tr bgcolor="#99CCFF">
-       <th><xsl:value-of select="."/></th>             
-        </tr>
+       <th><xsl:value-of select="."/></th>                     
+       </tr>
 </xsl:template> 
 
 <xsl:template match="t">