Project

General

Profile

1
<?xml version="1.0"?>
2
<!--
3
	*  '$RCSfile$'
4
	*      Authors: Matt Jones, CHad Berkley
5
	*    Copyright: 2000 Regents of the University of California and the
6
	*               National Center for Ecological Analysis and Synthesis
7
	*  For Details: http://www.nceas.ucsb.edu/
8
	*
9
	*   '$Author: leinfelder $'
10
	*     '$Date: 2010-09-03 23:53:00 +0000 (Fri, 03 Sep 2010) $'
11
	* '$Revision: 5536 $'
12
	*
13
	* This program is free software; you can redistribute it and/or modify
14
	* it under the terms of the GNU General Public License as published by
15
	* the Free Software Foundation; either version 2 of the License, or
16
	* (at your option) any later version.
17
	*
18
	* This program is distributed in the hope that it will be useful,
19
	* but WITHOUT ANY WARRANTY; without even the implied warranty of
20
	* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
	* GNU General Public License for more details.
22
	*
23
	* You should have received a copy of the GNU General Public License
24
	* along with this program; if not, write to the Free Software
25
	* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
	*
27
	* This is an XSLT (http://www.w3.org/TR/xslt) stylesheet designed to
28
	* convert an XML file showing the resultset of a query
29
	* into an HTML format suitable for rendering with modern web browsers.
30
-->
31
<xsl:stylesheet 
32
	xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
33
	xmlns:sms="http://ecoinformatics.org/sms/annotation.0.9"
34
	version="1.0">
35
	<xsl:import href="annotation-root.xsl"/>
36

    
37
	<xsl:output method="html" />
38
	<xsl:param name="sessid" />
39
	<xsl:param name="qformat">semtools</xsl:param>
40
	<xsl:param name="enableediting">false</xsl:param>
41
	<xsl:param name="contextURL"/>
42
	<xsl:template match="/">
43
		<html>
44
			<head>
45
				<title>Annotation Details</title>
46
				<link rel="stylesheet" type="text/css"
47
					src="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" />
48
				<script language="javascript" type="text/javascript" 
49
					src="{$contextURL}/style/common/jquery/jquery.js"></script>	
50
				<script language="Javascript" type="text/JavaScript"
51
					src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js" />
52
				<script language="Javascript" type="text/JavaScript"
53
					src="{$contextURL}/style/common/branding.js" />
54
				<script language="Javascript" type="text/JavaScript"
55
					src="{$contextURL}/style/skins/semtools/search.js" />	
56
			</head>
57

    
58
			<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
59
				<script language="JavaScript">
60
					insertTemplateOpening('<xsl:value-of select="$contextURL" />'); insertSearchBox('<xsl:value-of select="$contextURL" />');
61
				</script>
62
				
63
				<div id="content_wrapper">
64
				
65
				<div class="group group_border">
66
					<h3>Semantic Annotation</h3>
67
				</div>
68
				<xsl:for-each select="/*[local-name()='annotation']">
69
					<xsl:call-template name="annotation"/>
70
				</xsl:for-each>	
71
				
72
				</div>
73
				
74
				<script language="JavaScript">
75
					insertTemplateClosing('<xsl:value-of select="$contextURL" />');
76
				</script>
77
			</body>
78
			
79
		</html>
80
	</xsl:template>
81
	
82
</xsl:stylesheet>
(2-2/14)