source: trunk/gsdl3/web/interfaces/classic/transform/nav.xsl@ 8661

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

override teh default nav xslt to make the page in a table width = 537

  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 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 <!-- style includes global params interface_name, library_name -->
10 <xsl:include href="style.xsl"/>
11
12 <xsl:output method="html"/>
13
14 <xsl:template match="page">
15 <html>
16 <head>
17 <title>
18 <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
19 </title>
20 <xsl:call-template name="globalStyle"/>
21 <base target="_top"/>
22 </head>
23 <body style="background-image: none;">
24 <center>
25 <table width="537">
26 <tr><td>
27 <xsl:apply-templates select="pageResponse"/>
28 </td></tr>
29 </table>
30 </center>
31 </body>
32 </html>
33 </xsl:template>
34
35 <xsl:template name="pageTitle">
36 <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>
37 </xsl:template>
38
39 <xsl:template match="pageResponse">
40 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
41 <div align="right">
42 <xsl:call-template name="top-buttons">
43 <xsl:with-param name="collName" select="$collName"/>
44 </xsl:call-template>
45 </div>
46 <xsl:call-template name="navigationBar">
47 <xsl:with-param name="collName" select="$collName"/>
48 </xsl:call-template>
49 </xsl:template>
50
51</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.