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:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
|
---|
25 | <xsl:apply-templates select="pageResponse"/>
|
---|
26 | </body>
|
---|
27 | </html>
|
---|
28 | </xsl:template>
|
---|
29 |
|
---|
30 | <xsl:template name="pageTitle">
|
---|
31 | <xsl:value-of select="/page/pageResponse/*/displayItem[@name='name']"/>
|
---|
32 | </xsl:template>
|
---|
33 |
|
---|
34 | <xsl:template match="pageResponse">
|
---|
35 | <xsl:variable name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
|
---|
36 | <div align="right">
|
---|
37 | <xsl:call-template name="top-buttons">
|
---|
38 | <xsl:with-param name="collName" select="$collName"/>
|
---|
39 | </xsl:call-template>
|
---|
40 | </div>
|
---|
41 | <xsl:call-template name="navigationBar">
|
---|
42 | <xsl:with-param name="collName" select="$collName"/>
|
---|
43 | </xsl:call-template>
|
---|
44 | </xsl:template>
|
---|
45 |
|
---|
46 | </xsl:stylesheet>
|
---|