source: documentation/trunk/tutorial_sample_files/interfaces/aybara/main.xsl

Last change on this file was 34582, checked in by anupama, 3 years ago

Updates and new interface.txt file with code snippets for the final 3 customisation tutorials. Not sure why we didn't already have one. By copying directly from the tutorial html, I may not have noticed there was no text file containing all the prepared code snippets to paste into the various xsl files.

File size: 1.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0"
3 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
4
5 xmlns:java="http://xml.apache.org/xslt/java"
6 xmlns:util="xalan://org.greenstone.gsdl3.util.XSLTUtil"
7 xmlns:gslib="http://www.greenstone.org/skinning"
8 xmlns:gsf="http://www.greenstone.org/greenstone3/schema/ConfigFormat"
9
10 xmlns:lxslt="http://xml.apache.org/xslt"
11 xmlns:result="http://www.example.com/results"
12 xmlns:exsl="http://exslt.org/common"
13
14 extension-element-prefixes="java util result exsl"
15 exclude-result-prefixes="util java util">
16
17
18<!-- The main layout is defined here -->
19<xsl:template name="mainTemplate">
20<html>
21 <head>
22 <!-- ***** in header.xsl ***** -->
23 <xsl:call-template name="create-html-header"/>
24 </head>
25 <body>
26 <div class="container" id="gs_content">
27 <xsl:apply-templates select="/page"/>
28 </div>
29 <xsl:call-template name="gs_footer"/>
30 </body>
31</html>
32</xsl:template>
33
34
35<!-- Template controlling the footer. -->
36<xsl:template name="gs_footer">
37<!-- Put footer in here. -->
38</xsl:template>
39
40</xsl:stylesheet>
Note: See TracBrowser for help on using the repository browser.