00001 <?xml version="1.0" encoding="UTF-8" ?> 00002 <!-- $Id: i18n.xsl,v 1.2 2004/08/24 17:23:10 ensonic Exp $ 00003 * @file i18n.xsl 00004 * @author Stefan Kost <ensonic@users.sf.net> 00005 * @date Fri Mar 26 10:00:02 MET 2004 00006 * 00007 * @brief i18n translation style sheet 00008 * @ingroup gitkcoretransformation 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 xsl:extension-element-prefixes="i18n" 00018 exclude-result-prefixes="giml"> 00019 00020 <xsl:output method="xml" doctype-system="http://gitk.sourceforge.net/giml.dtd"/> 00021 00022 <xsl:template match="i18n:text"> 00023 <xsl:value-of select="i18n:gettext(.)"/> 00024 </xsl:template> 00025 00026 <xsl:template match="@*|node()"> 00027 <xsl:copy> 00028 <xsl:apply-templates select="@*|node()"/> 00029 </xsl:copy> 00030 </xsl:template> 00031 00032 </xsl:stylesheet>