source: trunk/gsdl3/web/interfaces/default/transform/applet.xsl@ 9011

Last change on this file since 9011 was 8526, checked in by kjdon, 20 years ago

tidied up the style stuff - now uses css. pageHead is now defined by style, with pageTitle and pageStyle in each page. got rid of the attribute sets and colors in style - uses css instead.

  • 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 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
6 extension-element-prefixes="java util"
7 exclude-result-prefixes="java util">
8
9 <xsl:include href="style.xsl"/>
10
11 <xsl:output method="html"/>
12
13 <xsl:template name="pageTitle">
14 <xsl:value-of select="pageResponse/service/applet"/>
15 </xsl:template>
16
17 <!-- page specific style goes here -->
18 <xsl:template name="pageStyle"/>
19
20 <xsl:template match="pageResponse">
21 <xsl:variable name="collName"><xsl:value-of select="../pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
22 <center>
23 <xsl:call-template name="standardPageBanner">
24 <xsl:with-param name="collName" select="$collName"/>
25 </xsl:call-template>
26 <p/>
27 <xsl:call-template name="navigationBar">
28 <xsl:with-param name="collName" select="$collName"/>
29 </xsl:call-template>
30<!-- <xsl:call-template name="dividerBar">
31 <xsl:with-param name="text" select="service/displayItem[@name='name']"/>
32 </xsl:call-template>-->
33 <p/>
34 <xsl:copy-of select="service/applet"/>
35 <xsl:call-template name="dividerBar"/>
36 </center>
37 </xsl:template>
38</xsl:stylesheet>
39
Note: See TracBrowser for help on using the repository browser.