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="home_text.xsl"/>
|
---|
11 | <xsl:include href="page_common.xsl"/>
|
---|
12 |
|
---|
13 | <xsl:output method="html"/>
|
---|
14 |
|
---|
15 | <xsl:template name="pageHead">
|
---|
16 | <head>
|
---|
17 | <title>
|
---|
18 | <xsl:value-of select="util:getInterfaceText($interface_name, /page/@lang, 'nzdl')"/>
|
---|
19 | </title>
|
---|
20 | <xsl:call-template name="headScript"/>
|
---|
21 | </head>
|
---|
22 | </xsl:template>
|
---|
23 |
|
---|
24 | <xsl:template match="pageResponse">
|
---|
25 | <xsl:call-template name="nzdlPageBanner"/>
|
---|
26 | <center>
|
---|
27 | <xsl:apply-templates select="collectionList"/>
|
---|
28 | </center>
|
---|
29 | <center><xsl:call-template name="dividerBar"/></center>
|
---|
30 | <p />
|
---|
31 | <center><h2><xsl:call-template name="textprojhead"/></h2></center>
|
---|
32 |
|
---|
33 | <table border='0' cellpadding='5'>
|
---|
34 | <xsl:call-template name="project_info"/>
|
---|
35 | <xsl:call-template name="software_info"/>
|
---|
36 | <xsl:call-template name="research_info"/>
|
---|
37 | <xsl:call-template name="affiliate_info"/>
|
---|
38 | </table>
|
---|
39 | <center>
|
---|
40 | <xsl:call-template name="dividerBar"/>
|
---|
41 | <xsl:call-template name="greenstone_info"/>
|
---|
42 | <p />
|
---|
43 | <xsl:call-template name="nzdlpagefooter"/>
|
---|
44 | <br />September 2003
|
---|
45 | </center>
|
---|
46 | </xsl:template>
|
---|
47 |
|
---|
48 | <xsl:template name="project_info">
|
---|
49 | <tr valign='top'>
|
---|
50 | <td>
|
---|
51 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="mailto:[email protected]">Feedback</a></td></tr></table>
|
---|
52 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/people.html">People</a></td></tr></table>
|
---|
53 | </td>
|
---|
54 | <td><xsl:call-template name="textprojinfo"/></td>
|
---|
55 | </tr>
|
---|
56 | </xsl:template>
|
---|
57 |
|
---|
58 | <xsl:template name="software_info">
|
---|
59 | <tr>
|
---|
60 | <td></td>
|
---|
61 | <th align='left'><xsl:call-template name="titlesoftwareinfo"/></th>
|
---|
62 | </tr>
|
---|
63 | <tr valign='top'>
|
---|
64 | <td>
|
---|
65 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="{$library_name}?a=p&sa=gsdl">About<br />Greenstone</a></td></tr></table>
|
---|
66 |
|
---|
67 | </td>
|
---|
68 | <td><xsl:call-template name="textsoftwareinfo"/></td>
|
---|
69 | </tr>
|
---|
70 | </xsl:template>
|
---|
71 |
|
---|
72 | <xsl:template name="research_info">
|
---|
73 | <tr>
|
---|
74 | <td></td>
|
---|
75 | <th align='left'><xsl:call-template name="titleresearchinfo"/></th>
|
---|
76 | </tr>
|
---|
77 | <tr valign='top'>
|
---|
78 | <td>
|
---|
79 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/research.html">Research</a></td></tr></table>
|
---|
80 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/projects.html">Projects</a></td></tr></table>
|
---|
81 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.nzdl.org/html/software.html">Software<br />Downloads</a></td></tr></table>
|
---|
82 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://www.cs.waikato.ac.nz/~nzdl/publications/">Publications</a></td></tr></table>
|
---|
83 | </td>
|
---|
84 | <td><xsl:call-template name="textresearchinfo"/></td>
|
---|
85 | </tr>
|
---|
86 |
|
---|
87 | <tr valign='top'>
|
---|
88 | <td>
|
---|
89 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="http://nzdl2.cs.waikato.ac.nz/cgi-bin/zdemo/library">Z39.50<br />demo</a></td></tr></table>
|
---|
90 | </td><td>
|
---|
91 | We have an experimental facility for searching Z39.50 collections using Greenstone. Ultimately we plan a full bibliographic search facility, with the ability to combine tests on different fields, and to be able to search multiple collections, including cross-searching Greenstone and Z39.50 collections.
|
---|
92 | </td>
|
---|
93 | </tr>
|
---|
94 | </xsl:template>
|
---|
95 |
|
---|
96 | <xsl:template name="affiliate_info">
|
---|
97 | <tr>
|
---|
98 | <td></td>
|
---|
99 | <th align='left'><xsl:call-template name="titleaffiliateinfo"/></th>
|
---|
100 | </tr>
|
---|
101 | <tr valign='top'>
|
---|
102 | <td>
|
---|
103 | <img src="interfaces/nzdl/images/ghproj.jpg" alt="Human Info NGO" width='100' height='90'/>
|
---|
104 | </td>
|
---|
105 | <td><xsl:call-template name="textaffiliateinfo"/></td>
|
---|
106 | </tr>
|
---|
107 | </xsl:template>
|
---|
108 |
|
---|
109 | <xsl:template match="collection">
|
---|
110 | <xsl:variable name="ct"><xsl:choose><xsl:when test="metadataList/metadata[@name='buildType']='mgpp'">1</xsl:when><xsl:otherwise>0</xsl:otherwise></xsl:choose></xsl:variable>
|
---|
111 | <p />
|
---|
112 | <a href="{$library_name}?a=p&sa=about&c={@name}&ct={$ct}">
|
---|
113 | <img width="150" border="1">
|
---|
114 | <xsl:attribute name="src">
|
---|
115 | <xsl:value-of select="metadataList/metadata[@name='httpPath']"/>/images/<xsl:choose><xsl:when test="displayItem[@name='smallicon']"><xsl:value-of select="displayItem[@name='smallicon']"/></xsl:when><xsl:otherwise><xsl:value-of select="displayItem[@name='icon']"/></xsl:otherwise></xsl:choose>
|
---|
116 | </xsl:attribute>
|
---|
117 | <xsl:attribute name="alt">
|
---|
118 | <xsl:value-of select="displayItem[@name='name']"/>
|
---|
119 | </xsl:attribute>
|
---|
120 | </img>
|
---|
121 | </a>
|
---|
122 | <p />
|
---|
123 | </xsl:template>
|
---|
124 |
|
---|
125 |
|
---|
126 | <xsl:template match="collectionList">
|
---|
127 | <center>
|
---|
128 | <xsl:call-template name="dividerBar"><xsl:with-param name="text">Humanitarian and UN collections</xsl:with-param></xsl:call-template>
|
---|
129 | <p /><xsl:call-template name="collectfao"/>
|
---|
130 | <xsl:call-template name="dividerBar"><xsl:with-param name="text">Demonstration collections</xsl:with-param></xsl:call-template>
|
---|
131 | <p /><xsl:call-template name="collectrest"/>
|
---|
132 | </center>
|
---|
133 | </xsl:template>
|
---|
134 |
|
---|
135 | <xsl:template name="collectfao">
|
---|
136 | <table width="537">
|
---|
137 | <tr valign='top'>
|
---|
138 | <td align='center'>
|
---|
139 | <p />hdl<xsl:apply-templates select="collection[@name='hdl']"/>
|
---|
140 | <p />envl<xsl:apply-templates select="collection[@name='envl']"/>
|
---|
141 | <p />aginfo<xsl:apply-templates select="collection[@name='aginfo']"/>
|
---|
142 | <p />gtz<xsl:apply-templates select="collection[@name='gtz']"/>
|
---|
143 | <p />who<xsl:apply-templates select="collection[@name='who']"/>
|
---|
144 | </td>
|
---|
145 | <td align='center'>
|
---|
146 | <p /><xsl:apply-templates select="collection[@name='mhl']"/>
|
---|
147 | <p />fnl<xsl:apply-templates select="collection[@name='fnl']"/>
|
---|
148 | <p />paho<xsl:apply-templates select="collection[@name='paho']"/>
|
---|
149 | <p />fi1998<xsl:apply-templates select="collection[@name='fi1998']"/>
|
---|
150 | <p />faodocs<xsl:apply-templates select="collection[@name='faodocs']"/>
|
---|
151 | <p />firstaid<xsl:apply-templates select="collection[@name='firstaid']"/>
|
---|
152 | </td>
|
---|
153 | <td align='center'>
|
---|
154 | <p />ccgi<xsl:apply-templates select="collection[@name='ccgi']"/>
|
---|
155 | <p />fnl_1<xsl:apply-templates select="collection[@name='fnl_1']"/>
|
---|
156 | <p />tulane<xsl:apply-templates select="collection[@name='tulane']"/>
|
---|
157 | <p />unesco<xsl:apply-templates select="collection[@name='unesco']"/>
|
---|
158 | <p />ipc<xsl:apply-templates select="collection[@name='ipc']"/>
|
---|
159 | <p />povsem<xsl:apply-templates select="collection[@name='povsem']"/>
|
---|
160 | </td>
|
---|
161 | </tr>
|
---|
162 | </table>
|
---|
163 | </xsl:template>
|
---|
164 |
|
---|
165 |
|
---|
166 | <xsl:template name="collectrest">
|
---|
167 | <table width='537'>
|
---|
168 | <tr valign='top'>
|
---|
169 | <td align='center'>
|
---|
170 | <p /><xsl:apply-templates select="collection[@name='niupepa']"/>
|
---|
171 | <p />howto DL<xsl:apply-templates select="collection[@name='howto']"/>
|
---|
172 | <p />arabic<xsl:apply-templates select="collection[@name='arabic']"/>
|
---|
173 | <p /><xsl:apply-templates select="collection[@name='chinese']"/>
|
---|
174 | <p />folktale<xsl:apply-templates select="collection[@name='folktale']"/>
|
---|
175 | <p />rocky<xsl:apply-templates select="collection[@name='rocky']"/>
|
---|
176 | <p />tidbits<xsl:apply-templates select="collection[@name='tidbits']"/>
|
---|
177 | </td>
|
---|
178 | <td align='center'>
|
---|
179 | <p />meldex<xsl:apply-templates select="collection[@name='meldex']"/>
|
---|
180 | <p />wordpdf<xsl:apply-templates select="collection[@name='wordpdf']"/>
|
---|
181 | <p />musvid<xsl:apply-templates select="collection[@name='musvid']"/>
|
---|
182 | <p />gberg<xsl:apply-templates select="collection[@name='gberg']"/>
|
---|
183 | <p />allshake<xsl:apply-templates select="collection[@name='allshake']"/>
|
---|
184 | <p />csbib<xsl:apply-templates select="collection[@name='csbib']"/>
|
---|
185 | <p /><xsl:apply-templates select="collection[@name='coltbib']"/>
|
---|
186 | <p />aircraft<xsl:apply-templates select="collection[@name='aircraft']"/>
|
---|
187 | </td>
|
---|
188 | <td align='center'>
|
---|
189 | <p />cstr<xsl:apply-templates select="collection[@name='cstr']"/>
|
---|
190 | <p />gsarch<xsl:apply-templates select="collection[@name='gsarch']"/>
|
---|
191 | <p />ohist<xsl:apply-templates select="collection[@name='ohist']"/>
|
---|
192 | <p />hcibib<xsl:apply-templates select="collection[@name='hcibib']"/>
|
---|
193 | <p />whist<xsl:apply-templates select="collection[@name='whist']"/>
|
---|
194 | <p />acrodemo<xsl:apply-templates select="collection[@name='acrodemo']"/>
|
---|
195 | <p />tcc<xsl:apply-templates select="collection[@name='tcc']"/>
|
---|
196 | </td>
|
---|
197 | </tr>
|
---|
198 | </table>
|
---|
199 | </xsl:template>
|
---|
200 |
|
---|
201 | </xsl:stylesheet>
|
---|
202 |
|
---|
203 |
|
---|
204 |
|
---|
205 |
|
---|