close Warning: Can't use blame annotator:
svn blame failed on other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/default/transform/text_fragment_format.xsl: 195004 - Cannot calculate blame information for binary file 'file:///var/www/svn/greenstone/other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/default/transform/text_fragment_format.xsl'

source: other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/default/transform/text_fragment_format.xsl@ 26899

Last change on this file since 26899 was 26899, checked in by davidb, 11 years ago

Tipple reborn after Chris's Summer of Code 2013

  • Property svn:mime-type set to application/xml
File size: 1.3 KB
RevLine 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4 xmlns:xslt="output.xsl"
5 xmlns:java="http://xml.apache.org/xslt/java"
6 xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
7 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
8 extension-element-prefixes="java">
9 <xsl:param name="interface_name"/>
10 <xsl:param name="library_name"/>
11 <xsl:param name="site_name"/>
12 <xsl:param name="collName"/>
13 <xsl:param name="lang"/>
14
15 <xsl:output method="xml"/>
16 <xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
17
18 <!-- With gsf:interfaceText, a user can request a string from the interface dictionaries in the current lang -->
19 <xsl:template match="gsf:interfaceText" name="gsf:interfaceText">
20 <xsl:value-of disable-output-escaping="yes" select="util:getInterfaceText($interface_name, $lang, @name)"/>
21 </xsl:template>
22
23 <!-- With gsf:collectionText, a user can request a string from the collection's dictionary in the current lang -->
24 <xsl:template match="gsf:collectionText" name="gsf:collectionText">
25 <xsl:copy-of select="util:getCollectionText($collName, $site_name, $lang, @name, @args)/node()"/>
26 </xsl:template>
27
28 <xsl:template match="*">
29 <xsl:copy>
30 <xsl:copy-of select="@*"/>
31 <xsl:apply-templates/>
32 </xsl:copy>
33 </xsl:template>
34</xsl:stylesheet>
35
36
Note: See TracBrowser for help on using the repository browser.