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 |
|
---|
5 | <xsl:include href="style.xsl"/>
|
---|
6 | <xsl:include href="home_text.xsl"/>
|
---|
7 | <xsl:include href="page_common.xsl"/>
|
---|
8 |
|
---|
9 | <xsl:output method="html"/>
|
---|
10 |
|
---|
11 | <xsl:template name="pageHead">
|
---|
12 | <head>
|
---|
13 | <title><xsl:call-template name="text"><xsl:with-param name="key">nzdl</xsl:with-param></xsl:call-template></title>
|
---|
14 | <xsl:call-template name="headScript"/>
|
---|
15 | </head>
|
---|
16 | </xsl:template>
|
---|
17 |
|
---|
18 | <xsl:template match="pageResponse">
|
---|
19 | <xsl:call-template name="nzdlPageBanner"/>
|
---|
20 | <center>
|
---|
21 | <xsl:apply-templates select="collectionList"/>
|
---|
22 | </center>
|
---|
23 | <center><xsl:call-template name="iconblankbar"/></center>
|
---|
24 | <p />
|
---|
25 | <center><h2><xsl:call-template name="textprojhead"/></h2></center>
|
---|
26 |
|
---|
27 | <table border='0' cellpadding='5'>
|
---|
28 | <xsl:call-template name="project_info"/>
|
---|
29 | <xsl:call-template name="software_info"/>
|
---|
30 | <xsl:call-template name="research_info"/>
|
---|
31 | <xsl:call-template name="affiliate_info"/>
|
---|
32 | </table>
|
---|
33 | <center>
|
---|
34 | <xsl:call-template name="iconblankbar"/>
|
---|
35 | <xsl:call-template name="greenstone_info"/>
|
---|
36 | <p />
|
---|
37 | <xsl:call-template name="nzdlpagefooter"/>
|
---|
38 | <br />April 2003
|
---|
39 | </center>
|
---|
40 | </xsl:template>
|
---|
41 |
|
---|
42 | <xsl:template name="project_info">
|
---|
43 | <tr valign='top'>
|
---|
44 | <td>
|
---|
45 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a href="mailto:[email protected]">Feedback</a></td></tr></table>
|
---|
46 | <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>
|
---|
47 | </td>
|
---|
48 | <td><xsl:call-template name="textprojinfo"/></td>
|
---|
49 | </tr>
|
---|
50 | </xsl:template>
|
---|
51 |
|
---|
52 | <xsl:template name="software_info">
|
---|
53 | <tr>
|
---|
54 | <td></td>
|
---|
55 | <th align='left'><xsl:call-template name="titlesoftwareinfo"/></th>
|
---|
56 | </tr>
|
---|
57 | <tr valign='top'>
|
---|
58 | <td>
|
---|
59 | <table><tr valign='middle'><td><img src="interfaces/nzdl/images/gbull.gif"/></td><td><a><xsl:attribute name="href"><xsl:value-of select="ancestor::page/pageExtra/config/library_name"/>?a=p&sa=gsdl</xsl:attribute>About<br />Greenstone</a></td></tr></table>
|
---|
60 |
|
---|
61 | </td>
|
---|
62 | <td><xsl:call-template name="textsoftwareinfo"/></td>
|
---|
63 | </tr>
|
---|
64 | </xsl:template>
|
---|
65 |
|
---|
66 | <xsl:template name="research_info">
|
---|
67 | <tr>
|
---|
68 | <td></td>
|
---|
69 | <th align='left'><xsl:call-template name="titleresearchinfo"/></th>
|
---|
70 | </tr>
|
---|
71 | <tr valign='top'>
|
---|
72 | <td>
|
---|
73 | <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>
|
---|
74 | <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>
|
---|
75 | <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>
|
---|
76 | <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>
|
---|
77 | </td>
|
---|
78 | <td><xsl:call-template name="textresearchinfo"/></td>
|
---|
79 | </tr>
|
---|
80 |
|
---|
81 | <tr valign='top'>
|
---|
82 | <td>
|
---|
83 | <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>
|
---|
84 | </td><td>
|
---|
85 | 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.
|
---|
86 | </td>
|
---|
87 | </tr>
|
---|
88 | </xsl:template>
|
---|
89 |
|
---|
90 | <xsl:template name="affiliate_info">
|
---|
91 | <tr>
|
---|
92 | <td></td>
|
---|
93 | <th align='left'><xsl:call-template name="titleaffiliateinfo"/></th>
|
---|
94 | </tr>
|
---|
95 | <tr valign='top'>
|
---|
96 | <td>
|
---|
97 | <img src="interfaces/nzdl/images/ghproj.jpg" alt="Human Info NGO" width='100' height='90'/>
|
---|
98 | </td>
|
---|
99 | <td><xsl:call-template name="textaffiliateinfo"/></td>
|
---|
100 | </tr>
|
---|
101 | </xsl:template>
|
---|
102 |
|
---|
103 |
|
---|
104 | <!-- the ancestor axis contains the parent of the context node, and its parent and so on. to pick one node among these: ancestor::elem-name. I dont know how this works if there are two nodes with the same name in the axis. -->
|
---|
105 | <xsl:template match="collection">
|
---|
106 | <p />
|
---|
107 | <a>
|
---|
108 | <xsl:attribute name='href'>
|
---|
109 | <xsl:value-of select="ancestor::page/pageExtra/config/library_name"/>?a=p&sa=about&c=<xsl:value-of select='@name'/>
|
---|
110 | </xsl:attribute>
|
---|
111 | <img width="150" border="1">
|
---|
112 | <xsl:attribute name="src">
|
---|
113 | <xsl:value-of select="metadataList/metadata[@name='httpPath']"/>/images/<xsl:value-of select="metadataList/metadata[@name='colIcon']"/>
|
---|
114 | </xsl:attribute>
|
---|
115 | <xsl:attribute name="alt">
|
---|
116 | <xsl:value-of select="metadataList/metadata[@name='colName']"/>
|
---|
117 | </xsl:attribute>
|
---|
118 | </img>
|
---|
119 | </a>
|
---|
120 | <p />
|
---|
121 | </xsl:template>
|
---|
122 |
|
---|
123 |
|
---|
124 | <xsl:template match="collectionList">
|
---|
125 | <center>
|
---|
126 | <p /><img src="interfaces/nzdl/images/selcolun.gif" width="537" height="17" alt="Humanitarian and UN collections"/>
|
---|
127 | <p /><xsl:call-template name="collectfao"/>
|
---|
128 | <p /><img src="interfaces/nzdl/images/selcolde.gif" width="537" height="17" alt="Demonstration collections"/>
|
---|
129 | <p /><xsl:call-template name="collectrest"/>
|
---|
130 | </center>
|
---|
131 | </xsl:template>
|
---|
132 |
|
---|
133 | <xsl:template name="collectfao">
|
---|
134 | <table width="537">
|
---|
135 | <tr valign='top'>
|
---|
136 | <td align='center'>
|
---|
137 | <p />hdl<xsl:apply-templates select="collection[@name='hdl']"/>
|
---|
138 | <p />envl<xsl:apply-templates select="collection[@name='envl']"/>
|
---|
139 | <p />aginfo<xsl:apply-templates select="collection[@name='aginfo']"/>
|
---|
140 | <p />gtz<xsl:apply-templates select="collection[@name='gtz']"/>
|
---|
141 | <p />who<xsl:apply-templates select="collection[@name='who']"/>
|
---|
142 | </td>
|
---|
143 | <td align='center'>
|
---|
144 | <p />mhl<xsl:apply-templates select="collection[@name='mhl']"/>
|
---|
145 | <p />fnl<xsl:apply-templates select="collection[@name='fnl']"/>
|
---|
146 | <p />paho<xsl:apply-templates select="collection[@name='paho']"/>
|
---|
147 | <p />fi1998<xsl:apply-templates select="collection[@name='fi1998']"/>
|
---|
148 | <p />faodocs<xsl:apply-templates select="collection[@name='faodocs']"/>
|
---|
149 | <p />firstaid<xsl:apply-templates select="collection[@name='firstaid']"/>
|
---|
150 | </td>
|
---|
151 | <td align='center'>
|
---|
152 | <p />ccgi<xsl:apply-templates select="collection[@name='ccgi']"/>
|
---|
153 | <p />fnl_1<xsl:apply-templates select="collection[@name='fnl_1']"/>
|
---|
154 | <p />tulane<xsl:apply-templates select="collection[@name='tulane']"/>
|
---|
155 | <p />unesco<xsl:apply-templates select="collection[@name='unesco']"/>
|
---|
156 | <p />ipc<xsl:apply-templates select="collection[@name='ipc']"/>
|
---|
157 | <p />povsem<xsl:apply-templates select="collection[@name='povsem']"/>
|
---|
158 | </td>
|
---|
159 | </tr>
|
---|
160 | </table>
|
---|
161 | </xsl:template>
|
---|
162 |
|
---|
163 |
|
---|
164 | <xsl:template name="collectrest">
|
---|
165 | <table width='537'>
|
---|
166 | <tr valign='top'>
|
---|
167 | <td align='center'>
|
---|
168 | <p />niupepa<xsl:apply-templates select="collection[@name='niupepa']"/>
|
---|
169 | <p />howto DL<xsl:apply-templates select="collection[@name='howto']"/>
|
---|
170 | <p />arabic<xsl:apply-templates select="collection[@name='arabic']"/>
|
---|
171 | <p /><xsl:apply-templates select="collection[@name='chinese']"/>
|
---|
172 | <p />folktale<xsl:apply-templates select="collection[@name='folktale']"/>
|
---|
173 | <p />rocky<xsl:apply-templates select="collection[@name='rocky']"/>
|
---|
174 | <p />tidbits<xsl:apply-templates select="collection[@name='tidbits']"/>
|
---|
175 | </td>
|
---|
176 | <td align='center'>
|
---|
177 | <p />meldex<xsl:apply-templates select="collection[@name='meldex']"/>
|
---|
178 | <p />wordpdf<xsl:apply-templates select="collection[@name='wordpdf']"/>
|
---|
179 | <p />musvid<xsl:apply-templates select="collection[@name='musvid']"/>
|
---|
180 | <p />gberg<xsl:apply-templates select="collection[@name='gberg']"/>
|
---|
181 | <p />allshake<xsl:apply-templates select="collection[@name='allshake']"/>
|
---|
182 | <p />csbib<xsl:apply-templates select="collection[@name='csbib']"/>
|
---|
183 | <p /><xsl:apply-templates select="collection[@name='coltbib']"/>
|
---|
184 | <p />aircraft<xsl:apply-templates select="collection[@name='aircraft']"/>
|
---|
185 | </td>
|
---|
186 | <td align='center'>
|
---|
187 | <p />cstr<xsl:apply-templates select="collection[@name='cstr']"/>
|
---|
188 | <p />gsarch<xsl:apply-templates select="collection[@name='gsarch']"/>
|
---|
189 | <p />ohist<xsl:apply-templates select="collection[@name='ohist']"/>
|
---|
190 | <p />hcibib<xsl:apply-templates select="collection[@name='hcibib']"/>
|
---|
191 | <p />whist<xsl:apply-templates select="collection[@name='whist']"/>
|
---|
192 | <p />acrodemo<xsl:apply-templates select="collection[@name='acrodemo']"/>
|
---|
193 | <p />tcc<xsl:apply-templates select="collection[@name='tcc']"/>
|
---|
194 | </td>
|
---|
195 | </tr>
|
---|
196 | </table>
|
---|
197 | </xsl:template>
|
---|
198 |
|
---|
199 | </xsl:stylesheet>
|
---|
200 |
|
---|
201 |
|
---|
202 |
|
---|
203 |
|
---|