Last change
on this file since 16702 was 8660, checked in by kjdon, 20 years ago |
new stylesheets for page action for displaying external links inside the collection. nav.xsl produces a page containing a basic collection header - home,help,pref, and vavigation bar. html.xsl uses 2 frames - the top frame is the nav page for the current collection, and the second frame contains the link specified by url param.
|
-
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 | <!-- 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 | <xsl:apply-templates select="pageResponse"/>
|
---|
25 | </body>
|
---|
26 | </html>
|
---|
27 | </xsl:template>
|
---|
28 |
|
---|
29 | <xsl:template name="pageTitle">
|
---|
30 | <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>
|
---|
31 | </xsl:template>
|
---|
32 |
|
---|
33 | <xsl:template match="pageResponse">
|
---|
34 | <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
|
---|
35 | <div align="right">
|
---|
36 | <xsl:call-template name="top-buttons">
|
---|
37 | <xsl:with-param name="collName" select="$collName"/>
|
---|
38 | </xsl:call-template>
|
---|
39 | </div>
|
---|
40 | <xsl:call-template name="navigationBar">
|
---|
41 | <xsl:with-param name="collName" select="$collName"/>
|
---|
42 | </xsl:call-template>
|
---|
43 | </xsl:template>
|
---|
44 |
|
---|
45 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.