domain.xsl

Go to the documentation of this file.
00001 <?xml version="1.0" encoding="UTF-8" ?>
00002 <!-- $Id: domain.xsl,v 1.6 2004/05/28 15:27:22 ensonic Exp $
00003  * @file   gitk-renderer-gtk/xsl/domain.xsl
00004  * @author Stefan Kost <ensonic@users.sf.net>
00005  * @date   Mon Dec 08 10:41:31 MET 2003
00006  * 
00007  * @brief  transfomrms dialog into gtk domain
00008  * @ingroup gitkrenderergtk
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:giml/giml:dialog/giml:dialogwidgets/giml:dialogwidget">
00022     <widget type="action">
00023       <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute>
00024       <label><i18n:text i18n:domain="gitk-core"><xsl:value-of select="@id"/></i18n:text></label>
00025     </widget>
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>

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