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 | <xsl:include href="style.xsl"/>
|
---|
10 | <xsl:include href="classifiertools.xsl"/>
|
---|
11 |
|
---|
12 | <xsl:output method="html"/>
|
---|
13 |
|
---|
14 | <xsl:template name="pageHead">
|
---|
15 | <head>
|
---|
16 | <title><xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'nzdl')"/></title>
|
---|
17 | </head>
|
---|
18 | <xsl:call-template name="headScript"/>
|
---|
19 | </xsl:template>
|
---|
20 |
|
---|
21 | <xsl:template match="pageResponse">
|
---|
22 | <xsl:variable name="collName"><xsl:value-of select="/page/pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
|
---|
23 | <xsl:variable name="serviceName"><xsl:value-of select="service/@name"/></xsl:variable>
|
---|
24 | <xsl:variable name="cl" select="/page/pageRequest/paramList/param[@name='cl']/@value"/>
|
---|
25 | <xsl:variable name="clTop">
|
---|
26 | <xsl:choose>
|
---|
27 | <xsl:when test="contains($cl, '.')"><xsl:value-of select="substring-before($cl, '.')"/></xsl:when>
|
---|
28 | <xsl:otherwise>
|
---|
29 | <xsl:value-of select="$cl"/>
|
---|
30 | </xsl:otherwise>
|
---|
31 | </xsl:choose>
|
---|
32 | </xsl:variable>
|
---|
33 | <center>
|
---|
34 | <xsl:call-template name="standardPageBanner">
|
---|
35 | <xsl:with-param name="collName" select="$collName"/>
|
---|
36 | <xsl:with-param name="pageType">browse</xsl:with-param>
|
---|
37 | <xsl:with-param name="clTop" select="$clTop"/>
|
---|
38 | </xsl:call-template>
|
---|
39 | <xsl:call-template name="navigationBar">
|
---|
40 | <xsl:with-param name="collName" select="$collName"/>
|
---|
41 | <xsl:with-param name="clTop" select="$clTop"/>
|
---|
42 | </xsl:call-template>
|
---|
43 | <p/>
|
---|
44 | <xsl:apply-templates select="classifier">
|
---|
45 | <xsl:with-param name="collName" select="$collName"/>
|
---|
46 | <xsl:with-param name="serviceName" select="$serviceName"/>
|
---|
47 | </xsl:apply-templates>
|
---|
48 | </center>
|
---|
49 | </xsl:template>
|
---|
50 |
|
---|
51 |
|
---|
52 | </xsl:stylesheet>
|
---|
53 |
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 |
|
---|