source: main/trunk/greenstone3/web/interfaces/basic-client-xslt/transform/system.xsl@ 32127

Last change on this file since 32127 was 23779, checked in by davidb, 13 years ago

Two new interfaces - 'default' now tries to use the client's XSLT capabilities of the web browser, falling back to the 'traditional' interface if this fails.

  • Property svn:keywords set to Author Date Id Revision
File size: 1.3 KB
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: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 <xsl:call-template name="pageTitle"/>
27 </div>
28 </body>
29 </html>
30 </xsl:template>
31
32 <xsl:template name="pageTitle">
33 <span class="getTextFor null document.title.gsdl">&amp;nbsp;</span>
34 </xsl:template>
35
36 <!-- page specific style goes here -->
37 <xsl:template name="pageStyle"/>
38
39 <xsl:template match="pageResponse">
40 <xsl:value-of select="status"/>
41 </xsl:template>
42
43</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.