source: trunk/gsdl3/web/interfaces/nzdl/transform/about.xsl@ 5385

Last change on this file since 5385 was 5385, checked in by kjdon, 21 years ago

navigation bar no longer part of page banner

  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 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="pageHead">
14 <head>
15 <title><xsl:value-of select="/page/pageResponse/collection/displayItem[@name='name']"/></title>
16 </head>
17 <xsl:call-template name="headScript"/>
18 </xsl:template>
19
20 <xsl:template match="pageResponse">
21 <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
22 <center>
23 <xsl:apply-templates select="collection"><xsl:with-param name="collName" select="$collName"/></xsl:apply-templates>
24 </center>
25 </xsl:template>
26
27 <xsl:template match="collection">
28 <xsl:param name="collName"/>
29 <xsl:call-template name="standardPageBanner">
30 <xsl:with-param name="collName" select="$collName"/>
31 <xsl:with-param name="pageType">about</xsl:with-param>
32 </xsl:call-template>
33 <xsl:call-template name="navigationBar">
34 <xsl:with-param name="collName" select="$collName"/>
35 </xsl:call-template>
36 <p />
37 <h3><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.aboutcoll')"/></h3>
38 <table><tr><td><xsl:value-of select="displayItem[@name='description']" disable-output-escaping='yes'/></td></tr></table>
39 <p />
40 <h3><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'about.howtofind', $collName)"/></h3>
41 some help stuff goes here
42 </xsl:template>
43
44
45</xsl:stylesheet>
46
Note: See TracBrowser for help on using the repository browser.