domain.xsl

Go to the documentation of this file.
00001 <?xml version="1.0" encoding="UTF-8" ?>
00002 <!-- $Id: domain.xsl,v 1.1 2004/09/22 17:36:15 geek7 Exp $
00003  * @file   gitk-renderer-html/xsl/domain.xsl
00004  * @author Christian Siegel <geek7@users.sf.net>
00005  * @date   Mon Sep 20 16:25:31 MET 2004
00006  * 
00007  * @brief  transfomrms dialog into html domain
00008  * @ingroup gitkrendererhtml
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">
00024         <xsl:value-of select="@id"/>
00025       </xsl:attribute>
00026       <label>
00027         <i18n:text i18n:domain="gitk-core">
00028           <xsl:value-of select="@id"/>
00029         </i18n:text>
00030       </label>
00031     </widget>
00032   </xsl:template>
00033   
00034   <xsl:template match="@*|node()">
00035     <xsl:copy>
00036       <xsl:apply-templates select="@*|node()"/>
00037     </xsl:copy>
00038   </xsl:template>
00039 
00040 </xsl:stylesheet>

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