root/other-projects/tipple-android/i-greenstone-server-files/greenstone/webapps/greenstone3/interfaces/basic/transform/system.xsl @ 26899

Revision 26899, 1.3 KB (checked in by davidb, 7 years ago)

Tipple reborn after Chris's Summer of Code 2013

  • Property svn:mime-type set to application/xml
Line 
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:java="http://xml.apache.org/xslt/java"
5  extension-element-prefixes="java">
6 
7  <!-- style includes global params interface_name, library_name -->
8  <xsl:include href="style.xsl"/>
9 
10  <!-- the main page layout template is here -->
11  <xsl:template match="page">
12    <html>
13      <head>
14    <title>
15      <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
16      <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
17    </title>
18    <xsl:call-template name="globalStyle"/>
19    <xsl:call-template name="pageStyle"/>
20      </head>
21      <body>
22    <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
23    <div id="page-wrapper">
24      <xsl:call-template name="response" />
25      <xsl:call-template name="greenstoneFooter"/>
26    </div>
27      </body>
28    </html>
29  </xsl:template>
30 
31  <xsl:template name="pageTitle">
32    <xsl:value-of select="java:org.greenstone.gsdl3.util.XSLTUtil.getInterfaceText($interface_name, /page/@lang, 'gsdl')"/>
33  </xsl:template>
34 
35  <!-- page specific style goes here -->
36  <xsl:template name="pageStyle"/>
37 
38  <xsl:template match="pageResponse">
39    <xsl:value-of select="status"/>
40  </xsl:template>
41 
42</xsl:stylesheet>
Note: See TracBrowser for help on using the browser.