source: main/trunk/model-sites-dev/von-sparql/transform/pages/sparql.xsl@ 29446

Last change on this file since 29446 was 28688, checked in by davidb, 10 years ago

Example visualization added to home page of this site

  • Property svn:executable set to *
File size: 2.0 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<!DOCTYPE videocollection [
3 <!ENTITY ndash "&#8211;">
4 <!ENTITY mdash "&#8212;">
5]>
6<xsl:stylesheet version="1.0"
7 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
8 xmlns:java="http://xml.apache.org/xslt/java"
9 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
10 xmlns:gslib="http://www.greenstone.org/skinning"
11 extension-element-prefixes="java util"
12 exclude-result-prefixes="java util">
13
14 <!-- use the 'main' layout -->
15 <xsl:include href="layouts/main.xsl"/>
16
17 <!-- set page title -->
18 <xsl:template name="pageTitle"><gslib:collectionName/></xsl:template>
19
20 <!-- set page breadcrumbs -->
21 <xsl:template name="breadcrumbs"><gslib:siteLink/><gslib:rightArrow/></xsl:template>
22
23 <!-- the page content -->
24 <xsl:template match="/page">
25
26 <!--Display the description text of the current collection,
27 and if some services are available then create a list
28 of links for each service within a <ul id="servicelist"> element.-->
29
30 <xsl:variable name="httpPath">
31 <xsl:value-of select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']" />
32 </xsl:variable>
33
34
35 <style>
36 p.about { text-align: justify; }
37 h2 { /* line-height: 135%; */ }
38 h3 { margin-top: 4pt; margin-bottom: 7pt; line-height: 135%; }
39
40 a.mashup {text-decoration: none; }
41 a.mashup:link {color:#000080;} /* unvisited link */
42 a.mashup:visited {color:#303080;} /* visited link */
43 a.mashup:hover {color:#000040;} /* mouse over link */
44 a.mashup:active {color:#0000a0;}
45
46 </style>
47
48
49<div style="width: 800px; margin-left: auto; margin-right: auto;">
50
51
52<style>
53 li { padding-bottom: 10px; }
54 #sparql-area {
55 padding: 5px;
56 width: 100%;
57 min-height: 600px;
58 }
59</style>
60
61<h2>Sparql Interface</h2>
62
63<!--
64<p class="about">
65 blah blah
66</p>
67-->
68
69<iframe id="sparql-area" src="http://localhost:3030" frameBorder="0"></iframe>
70
71
72</div>
73
74
75 </xsl:template>
76
77
78</xsl:stylesheet>
79
Note: See TracBrowser for help on using the repository browser.