source: greenstone3/trunk/web/ui/skins/oran/xsl/siteHome.xsl@ 16447

Last change on this file since 16447 was 16447, checked in by davidb, 16 years ago

More careful declaration of XSLT header information for produces XML, not HTML output. This is needed for the JAVA code that then takes some transformed code, parses it back in to a DOM (needs to be XML) and then does some final adjustments. When output was HTML, empty elements such as <script ../> could loose their closing />.

File size: 1.2 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2
3<xsl:stylesheet version="1.0"
4 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
5 xmlns:gslib="http://www.greenstone.org/skinning">
6
7<xsl:import href="./util.xsl"/>
8
9<xsl:template match="/">
10 <html>
11 <head>
12 <title>
13 <gslib:metadataItem name="siteName" /> / <gslib:metadataItem name="collectionName" />
14 </title>
15
16 <gslib:css/>
17 <gslib:js/>
18 </head>
19 <body>
20 <div id="container">
21
22 <div id="header">
23 <div class="title">
24 <gslib:uiItem name="siteHeader" />
25 </div>
26 </div>
27
28 <div id="sidebar" class="index">
29 <xsl:for-each select="$collections">
30 <div class="itemName">
31 <a>
32 <xsl:attribute name="href"><gslib:collection_url/></xsl:attribute>
33 <gslib:collection_title/>
34 </a>
35 </div>
36
37 </xsl:for-each>
38 </div>
39
40 <div id="content" class="withSidebar">
41 <gslib:uiItem name="siteAbout" />
42 </div>
43
44 <div class="centering" id="footer">
45 <gslib:uiItem name="siteFooter" />
46 </div>
47 </div>
48 </body>
49 </html>
50</xsl:template>
51
52</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.