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.2 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="pageTitle">
|
---|
15 | <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>: <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'help_t')"/>
|
---|
16 | </xsl:template>
|
---|
17 |
|
---|
18 | <!-- page specific style goes here -->
|
---|
19 | <xsl:template name="pageStyle"/>
|
---|
20 |
|
---|
21 |
|
---|
22 | <xsl:template match="pageResponse">
|
---|
23 | <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
|
---|
24 | <xsl:call-template name="standardPageBanner">
|
---|
25 | <xsl:with-param name="collName" select="$collName"/>
|
---|
26 | <xsl:with-param name="pageType">help</xsl:with-param>
|
---|
27 | </xsl:call-template>
|
---|
28 | <xsl:call-template name="navigationBar">
|
---|
29 | <xsl:with-param name="collName" select="$collName"/>
|
---|
30 | </xsl:call-template>
|
---|
31 |
|
---|
32 | some help text goes here
|
---|
33 | </xsl:template>
|
---|
34 |
|
---|
35 | </xsl:stylesheet> |
---|
Note:
See
TracBrowser
for help on using the repository browser.