00001 <?xml version="1.0" encoding="UTF-8" ?> 00002 <!-- $Id: nice.xsl,v 1.1 2004/06/14 11:50:09 sebpaul Exp $ 00003 * @file gitk-renderer-opengl/xsl/nice.xsl 00004 * @author Sebastian Paul <sebpaul@users.sf.net> 00005 * @date $Date: 2004/06/14 11:50:09 $ 00006 * 00007 * @brief switches to nice style 00008 * @ingroup gitkrenderer-opengl 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="style">nice</xsl:attribute> 00024 <xsl:apply-templates select="@*|node()"/> 00025 </xsl:copy> 00026 </xsl:template> 00027 00028 <xsl:template match="@*|node()"> 00029 <xsl:copy> 00030 <xsl:apply-templates select="@*|node()"/> 00031 </xsl:copy> 00032 </xsl:template> 00033 </xsl:stylesheet>