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

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

minor changes

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