1
|
<!--
|
2
|
* '$RCSfile$'
|
3
|
* Authors: Chad Berkley, Matt Jones
|
4
|
* Copyright: 2000 Regents of the University of California and the
|
5
|
* National Center for Ecological Analysis and Synthesis
|
6
|
* For Details: http://www.nceas.ucsb.edu/
|
7
|
*
|
8
|
* '$Author: jones $'
|
9
|
* '$Date: 2001-01-18 11:02:14 -0800 (Thu, 18 Jan 2001) $'
|
10
|
* '$Revision: 666 $'
|
11
|
*
|
12
|
* This is an XSL stylesheet for displaying the resultset from a query
|
13
|
*
|
14
|
* This program is free software; you can redistribute it and/or modify
|
15
|
* it under the terms of the GNU General Public License as published by
|
16
|
* the Free Software Foundation; either version 2 of the License, or
|
17
|
* (at your option) any later version.
|
18
|
*
|
19
|
* This program is distributed in the hope that it will be useful,
|
20
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
21
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
22
|
* GNU General Public License for more details.
|
23
|
*
|
24
|
* You should have received a copy of the GNU General Public License
|
25
|
* along with this program; if not, write to the Free Software
|
26
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
27
|
-->
|
28
|
<?xml version="1.0" ?>
|
29
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
30
|
<xsl:output method="html"/>
|
31
|
<xsl:template match="/">
|
32
|
<!--
|
33
|
List elements in the following order:
|
34
|
- ID
|
35
|
- Title
|
36
|
- Alt title
|
37
|
- URL
|
38
|
- originator(s)
|
39
|
- abstract
|
40
|
- keyword info
|
41
|
- keyword, keyword type
|
42
|
- additionalInfo
|
43
|
-->
|
44
|
|
45
|
<html>
|
46
|
<head>
|
47
|
<title>
|
48
|
<xsl:value-of select="title" />
|
49
|
</title>
|
50
|
</head>
|
51
|
<body>
|
52
|
<h1>
|
53
|
<xsl:value-of select-"title" />
|
54
|
</h1>
|
55
|
<h2>
|
56
|
<xsl:value-of select="alternateTitle" />
|
57
|
</h2>
|
58
|
<font size = 5>
|
59
|
ID: <xsl:value-of select="identifier" />
|
60
|
</font>
|
61
|
<h3>URL:
|
62
|
<xsl:value-of select="URL" />
|
63
|
</h3>
|
64
|
|
65
|
<h1>Document Owners</h1>
|
66
|
<xsl:for-each select="originator">
|
67
|
<p>
|
68
|
<h4>Role:<xsl:value-of select="roleCode" /></h4>
|
69
|
<xsl:value-of select="salutation" />
|
70
|
<xsl:value-of select="givenName" />
|
71
|
<xsl:value-of select="surName" />
|
72
|
<br/>
|
73
|
<xsl:value-of select="deliveryPoint" />
|
74
|
<br/>
|
75
|
<xsl:value-of select="city" />,
|
76
|
<xsl:value-of select="adminitrativeArea />
|
77
|
<xsl:value-of select="postalCode" />
|
78
|
<br/>
|
79
|
<xsl:value-of select="electronicMailAddress" />
|
80
|
<br/>
|
81
|
<xsl:value-of select="onlineResource/URL" />
|
82
|
<br/>
|
83
|
<xsl:value-of select="hoursOfService" />
|
84
|
<br/>
|
85
|
<xsl:value-of select="contactInstructions" />
|
86
|
<br/>
|
87
|
voice:<xsl:value-of select="voice" />
|
88
|
<br/>
|
89
|
fax:<xsl:value-of select="facsimile" />
|
90
|
<br/>
|
91
|
</p>
|
92
|
</xsl:for-each>
|
93
|
|
94
|
</body>
|
95
|
</html>
|