color.xsl

Go to the documentation of this file.
00001 <?xml version="1.0" encoding="UTF-8" ?>
00002 <!-- $Id: color.xsl,v 1.6 2004/05/28 15:27:23 ensonic Exp $
00003  * @file   gitk-renderer-text/xsl/style/color.xsl
00004  * @author Stefan Kost <ensonic@users.sf.net>
00005  * @date   Mon Dec 08 10:41:31 MET 2003
00006  * 
00007  * @brief  colorizes 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:dialog">
00022     <xsl:copy>
00023       <xsl:attribute name="bgcolor">white</xsl:attribute>
00024       <xsl:attribute name="fgcolor">White</xsl:attribute>
00025       <xsl:apply-templates select="@*|node()"/>
00026     </xsl:copy>
00027   </xsl:template>
00028 
00029   <xsl:template match="giml:widget">
00030     <xsl:copy>
00031       <xsl:attribute name="bgcolor">blue</xsl:attribute>
00032       <xsl:attribute name="fgcolor">white</xsl:attribute>
00033       <xsl:apply-templates select="@*|node()"/>
00034     </xsl:copy>
00035   </xsl:template>
00036   
00037   <xsl:template match="@*|node()">
00038     <xsl:copy>
00039       <xsl:apply-templates select="@*|node()"/>
00040     </xsl:copy>
00041   </xsl:template>
00042 </xsl:stylesheet>

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