1 |
2914
|
anderson
|
<?xml version="1.0"?>
|
2 |
|
|
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
3 |
|
|
<xsl:output method="html" indent="yes" encoding="ISO-8859-1" doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN" doctype-system="http://www.w3.org/TR/html4/loose.dtd" />
|
4 |
|
|
|
5 |
|
|
<xsl:template match="/">
|
6 |
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
7 |
|
|
<head>
|
8 |
|
|
<title>Metacat Spatial Query Results</title>
|
9 |
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
|
10 |
|
|
<link href="spatial_results.css" media="screen" rel="Stylesheet" type="text/css"/>
|
11 |
|
|
<link href="/knb/style/skins/knb/knb.css" type="text/css" rel="stylesheet"/>
|
12 |
|
|
<script src="/knb/style/skins/knb/knb.js" type="text/JavaScript" language="Javascript"></script>
|
13 |
|
|
<script src="/knb/style/common/branding.js" type="text/JavaScript" language="Javascript"></script>
|
14 |
|
|
</head>
|
15 |
|
|
|
16 |
|
|
<body>
|
17 |
|
|
<div id="mainTableAligmentStyle">
|
18 |
|
|
<script language="JavaScript">insertTemplateOpening();</script>
|
19 |
|
|
|
20 |
|
|
<h2>Metacat Spatial Query Results</h2>
|
21 |
|
|
<xsl:apply-templates />
|
22 |
|
|
|
23 |
|
|
</div>
|
24 |
|
|
|
25 |
|
|
</body>
|
26 |
|
|
</html>
|
27 |
|
|
</xsl:template>
|
28 |
|
|
|
29 |
|
|
<xsl:template match="metacatspatialdataset">
|
30 |
|
|
<div id="query_results">
|
31 |
|
|
<xsl:apply-templates />
|
32 |
|
|
</div>
|
33 |
|
|
</xsl:template>
|
34 |
|
|
|
35 |
|
|
<xsl:template match="metacatspatialdocument[position() mod 2 = 1]">
|
36 |
|
|
<p class="mc_doc odd">
|
37 |
|
|
<xsl:call-template name="show_doc" />
|
38 |
|
|
</p>
|
39 |
|
|
</xsl:template>
|
40 |
|
|
|
41 |
|
|
<xsl:template match="metacatspatialdocument">
|
42 |
|
|
<p class="mc_doc even">
|
43 |
|
|
<xsl:call-template name="show_doc" />
|
44 |
|
|
</p>
|
45 |
|
|
</xsl:template>
|
46 |
|
|
|
47 |
|
|
<xsl:template name="show_doc">
|
48 |
|
|
<a><xsl:attribute name="href">/knb/servlet/metacat?action=read&docid=<xsl:value-of select="docid"/>&qformat=knb</xsl:attribute><xsl:value-of select="docid"/></a>
|
49 |
|
|
<i><xsl:value-of select="creator/individualName/surName"/>, <xsl:value-of select="creator/individualName/givenName"/></i>
|
50 |
|
|
<blockquote><xsl:value-of select="abbreviated_abstract"/></blockquote>
|
51 |
|
|
</xsl:template>
|
52 |
|
|
|
53 |
|
|
</xsl:stylesheet>
|