Project

General

Profile

1 5536 leinfelder
<?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 5541 leinfelder
	*     '$Date: 2010-09-03 23:53:00 +0000 (Fri, 03 Sep 2010) $'
11
	* '$Revision: 5536 $'
12 5536 leinfelder
	*
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 5541 leinfelder
	version="1.0">
35
	<xsl:import href="annotation-root.xsl"/>
36 5536 leinfelder
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 5541 leinfelder
	<xsl:template match="/">
43
		<html>
44
			<head>
45 5591 leinfelder
				<title>Annotation Details</title>
46 5541 leinfelder
				<link rel="stylesheet" type="text/css"
47 5697 leinfelder
					src="{$contextURL}/style/skins/{$qformat}/{$qformat}.css" />
48 5696 leinfelder
				<script language="javascript" type="text/javascript"
49 5703 leinfelder
					src="{$contextURL}/style/common/jquery/jquery.js"></script>
50 5541 leinfelder
				<script language="Javascript" type="text/JavaScript"
51 5697 leinfelder
					src="{$contextURL}/style/skins/{$qformat}/{$qformat}.js" />
52 5541 leinfelder
				<script language="Javascript" type="text/JavaScript"
53 5697 leinfelder
					src="{$contextURL}/style/common/branding.js" />
54 5696 leinfelder
				<script language="Javascript" type="text/JavaScript"
55 5697 leinfelder
					src="{$contextURL}/style/skins/semtools/search.js" />
56 5541 leinfelder
			</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 5578 leinfelder
				<div id="content_wrapper">
64
65 5589 leinfelder
				<div class="group group_border">
66 5593 leinfelder
					<h3>Semantic Annotation</h3>
67 5589 leinfelder
				</div>
68 5541 leinfelder
				<xsl:for-each select="/*[local-name()='annotation']">
69
					<xsl:call-template name="annotation"/>
70
				</xsl:for-each>
71
72 5578 leinfelder
				</div>
73
74 5541 leinfelder
				<script language="JavaScript">
75
					insertTemplateClosing('<xsl:value-of select="$contextURL" />');
76
				</script>
77
			</body>
78 5540 leinfelder
79 5541 leinfelder
		</html>
80
	</xsl:template>
81 5536 leinfelder
82
</xsl:stylesheet>