Last change
on this file since 6682 was 5411, checked in by kjdon, 21 years ago |
have to overwrite the applet xsl so that we can pass in a pageType to page banner template
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.4 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>
|
---|
16 | <xsl:value-of select="pageResponse/service/applet"/>
|
---|
17 | </title>
|
---|
18 | </head>
|
---|
19 | </xsl:template>
|
---|
20 |
|
---|
21 | <xsl:template match="pageResponse">
|
---|
22 | <xsl:variable name="collName"><xsl:value-of select="../pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
|
---|
23 | <center>
|
---|
24 | <xsl:call-template name="standardPageBanner">
|
---|
25 | <xsl:with-param name="collName" select="$collName"/>
|
---|
26 | <xsl:with-param name="pageType"><xsl:choose><xsl:when test="service[@name='PhindApplet']">phrases</xsl:when><xsl:otherwise>applet</xsl:otherwise></xsl:choose></xsl:with-param>
|
---|
27 | </xsl:call-template>
|
---|
28 | <p/>
|
---|
29 | <xsl:call-template name="navigationBar">
|
---|
30 | <xsl:with-param name="collName" select="$collName"/>
|
---|
31 | </xsl:call-template>
|
---|
32 | <!-- <xsl:call-template name="dividerBar">
|
---|
33 | <xsl:with-param name="text" select="service/displayItem[@name='name']"/>
|
---|
34 | </xsl:call-template>-->
|
---|
35 | <p/>
|
---|
36 | <xsl:copy-of select="service/applet"/>
|
---|
37 | <xsl:call-template name="dividerBar"/>
|
---|
38 | </center>
|
---|
39 | </xsl:template>
|
---|
40 | </xsl:stylesheet>
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.