[23972] | 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 | <!-- the main page layout template is here -->
|
---|
| 15 | <xsl:template match="page">
|
---|
| 16 | <html>
|
---|
| 17 | <head>
|
---|
| 18 | <title>
|
---|
| 19 | <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
|
---|
| 20 | <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
|
---|
| 21 | </title>
|
---|
| 22 | <xsl:call-template name="globalStyle"/>
|
---|
| 23 | <xsl:call-template name="pageStyle"/>
|
---|
| 24 | </head>
|
---|
| 25 | <body>
|
---|
| 26 | <xsl:attribute name="dir"><xsl:call-template name="direction"/></xsl:attribute>
|
---|
| 27 | <div id="page-wrapper">
|
---|
| 28 | <xsl:call-template name="response" />
|
---|
| 29 | <xsl:call-template name="greenstoneFooter"/>
|
---|
| 30 | </div>
|
---|
| 31 | </body>
|
---|
| 32 | </html>
|
---|
| 33 | </xsl:template>
|
---|
| 34 |
|
---|
| 35 | <xsl:template name="pageTitle">
|
---|
| 36 | <xsl:value-of select="pageResponse/service/applet"/>
|
---|
| 37 | </xsl:template>
|
---|
| 38 |
|
---|
| 39 | <!-- page specific style goes here -->
|
---|
| 40 | <xsl:template name="pageStyle"/>
|
---|
| 41 |
|
---|
| 42 | <xsl:template match="pageResponse">
|
---|
| 43 | <xsl:variable name="collName"><xsl:value-of select="../pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
|
---|
| 44 | <xsl:call-template name="standardPageBanner">
|
---|
| 45 | <xsl:with-param name="collName" select="$collName"/>
|
---|
| 46 | </xsl:call-template>
|
---|
| 47 |
|
---|
| 48 | <xsl:call-template name="navigationBar">
|
---|
| 49 | <xsl:with-param name="collName" select="$collName"/>
|
---|
| 50 | </xsl:call-template>
|
---|
| 51 | <div class="phrasebrowse">
|
---|
| 52 | <xsl:copy-of select="service/applet"/>
|
---|
| 53 | </div>
|
---|
| 54 | </xsl:template>
|
---|
| 55 | </xsl:stylesheet>
|
---|
| 56 |
|
---|