Last change
on this file since 32598 was 32598, checked in by davidb, 5 years ago |
Config files for Hauraki DL collections
|
-
Property svn:executable
set to
*
|
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 | xmlns:gslib="http://www.greenstone.org/skinning"
|
---|
7 | xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
|
---|
8 | extension-element-prefixes="java util"
|
---|
9 | exclude-result-prefixes="java util gsf">
|
---|
10 |
|
---|
11 | <xsl:template name="rightSidebar">
|
---|
12 | <div id="rightSidebar">
|
---|
13 | <xsl:choose>
|
---|
14 | <xsl:when test="@docType = 'simple'">
|
---|
15 | <xsl:for-each select=".">
|
---|
16 | <xsl:call-template name="displayCoverImage"/>
|
---|
17 | </xsl:for-each>
|
---|
18 | <xsl:call-template name="viewOptions"/>
|
---|
19 | <!--<xsl:text> </xsl:text>-->
|
---|
20 | </xsl:when>
|
---|
21 | <xsl:otherwise>
|
---|
22 | <gsf:switch>
|
---|
23 | <gsf:metadata name="FileFormat" />
|
---|
24 | <gsf:when notEquals="PDF">
|
---|
25 | <xsl:for-each select="documentNode[1]">
|
---|
26 | <xsl:call-template name="displayCoverImage"/>
|
---|
27 | </xsl:for-each>
|
---|
28 | </gsf:when>
|
---|
29 | </gsf:switch>
|
---|
30 |
|
---|
31 | <xsl:call-template name="viewOptions"/>
|
---|
32 | <xsl:call-template name="displayTOC"/>
|
---|
33 | </xsl:otherwise>
|
---|
34 | </xsl:choose>
|
---|
35 | </div>
|
---|
36 | </xsl:template>
|
---|
37 | </xsl:stylesheet>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.