close Warning: Can't use blame annotator:
svn blame failed on main/trunk/model-interfaces-dev/heritage-nz/transform/pages/classifier.xsl: 195004 - Cannot calculate blame information for binary file 'file:///var/www/svn/greenstone/main/trunk/model-interfaces-dev/heritage-nz/transform/pages/classifier.xsl'

source: main/trunk/model-interfaces-dev/heritage-nz/transform/pages/classifier.xsl@ 32796

Last change on this file since 32796 was 32796, checked in by davidb, 5 years ago

Initial set of files to provide look and feel of Heritage NZ site, plus SVN clickable map in an iframe

  • Property svn:mime-type set to application/xml
File size: 1.7 KB
RevLine 
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
12 <xsl:template match="classifier">
13 <xsl:param name="collName"/>
14 <xsl:param name="serviceName"/>
15 <div id="classifiers">
16 <xsl:variable name="cl_name"><xsl:value-of select="@name"/></xsl:variable>
17 <xsl:choose>
18 <xsl:when test="@childType = 'HList'">
19 <xsl:call-template name="HList">
20 <xsl:with-param name='collName' select='$collName'/>
21 <xsl:with-param name='serviceName' select='$serviceName'/>
22 </xsl:call-template>
23 </xsl:when>
24 <xsl:otherwise>
25 <div style="position: relative">
26 <xsl:if test="$cl_name = 'CL4'">
27 <!--
28 width="1380.2666"
29 height="1746.2094"
30 -->
31 <iframe src="interfaces/{$interface_name}/iframe/nz-territories.svg"
32 style="float:right; positionXX: absolute; width: 345px; height: 436px; border: none; ">
33 <gsf:comment>filler</gsf:comment>
34 </iframe>
35 </xsl:if>
36
37 <table id="classifiernodelist">
38 <xsl:text> </xsl:text>
39 <xsl:call-template name="processNodeChildren">
40 <xsl:with-param name='collName' select='$collName'/>
41 <xsl:with-param name='serviceName' select='$serviceName'/>
42 </xsl:call-template>
43 </table>
44 </div>
45 </xsl:otherwise>
46 </xsl:choose>
47 </div>
48 </xsl:template>
49
50
51</xsl:stylesheet>
52
Note: See TracBrowser for help on using the repository browser.