icon.xsl

Go to the documentation of this file.
00001 <?xml version="1.0" encoding="UTF-8" ?>
00002 <!-- $Id: icon.xsl,v 1.6 2004/05/28 15:27:23 ensonic Exp $
00003  * @file   gitk-renderer-text/xsl/style/icon.xsl
00004  * @author Stefan Kost <ensonic@users.sf.net>
00005  * @date   Mon Dec 08 10:41:31 MET 2003
00006  * 
00007  * @brief  adds 'icons' to the dialog
00008  * @ingroup gitkrenderertext
00009  *
00010 -->
00011 <xsl:stylesheet version="1.0"
00012         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
00013         xmlns:giml="http://gitk.sourceforge.net/"
00014         xmlns:dc="http://purl.org/dc/elements/1.1/"
00015         xmlns:i18n="http://apache.org/cocoon/i18n/2.0"
00016         xmlns="http://gitk.sourceforge.net/"
00017         exclude-result-prefixes="giml">
00018 
00019   <xsl:output method="xml" doctype-system="http://gitk.sourceforge.net/giml.dtd"/>
00020 
00021   <xsl:template match="giml:widget[@type='characterinput_alphabetic']">
00022     <xsl:copy>
00023       <xsl:attribute name="icon">i</xsl:attribute>
00024       <xsl:apply-templates select="@*|node()"/>
00025     </xsl:copy>
00026   </xsl:template>
00027 
00028   <xsl:template match="giml:widget[@type='optionchoice_single_compact']">
00029     <xsl:copy>
00030       <xsl:attribute name="icon">o</xsl:attribute>
00031       <xsl:apply-templates select="@*|node()"/>
00032     </xsl:copy>
00033   </xsl:template>
00034   
00035   <xsl:template match="@*|node()">
00036     <xsl:copy>
00037       <xsl:apply-templates select="@*|node()"/>
00038     </xsl:copy>
00039   </xsl:template>
00040 </xsl:stylesheet>

Generated on Thu Oct 28 10:59:15 2004 for gitk by doxygen 1.3.6