1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
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 | <xsl:include href="header.xsl"/>
|
---|
18 | <xsl:include href="formatmanager.xsl"/>
|
---|
19 |
|
---|
20 | <!--<xsl:include href="xml-to-gui.xsl"/>-->
|
---|
21 | <!--<xsl:include href="xml-to-gui-templates.xsl"/>-->
|
---|
22 |
|
---|
23 | <!-- put the URL or path of your site here site -->
|
---|
24 | <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
|
---|
25 | <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
|
---|
26 |
|
---|
27 |
|
---|
28 | <!-- the output format for this layout is html -->
|
---|
29 | <!-- <xsl:output method="xml" version="1.0" encoding="UTF-8" doctype-public="-//W3C//DTD XHTML 1.1//EN" doctype-system="http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd" indent="yes" omit-xml-declaration="yes"/> -->
|
---|
30 | <xsl:output method="html" omit-xml-declaration="yes"/>
|
---|
31 |
|
---|
32 | <!-- the main layout is defined here -->
|
---|
33 | <xsl:template match="/">
|
---|
34 |
|
---|
35 | <html>
|
---|
36 |
|
---|
37 | <head>
|
---|
38 | <!-- ***** in header.xsl ***** -->
|
---|
39 | <xsl:call-template name="create-html-header"/>
|
---|
40 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
41 | </head>
|
---|
42 |
|
---|
43 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
44 |
|
---|
45 | <xsl:call-template name="displayErrorsIfAny"/>
|
---|
46 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
47 | <div id="container">
|
---|
48 |
|
---|
49 | <div id="gs_banner">
|
---|
50 |
|
---|
51 | <!-- ***** in header.xsl ***** -->
|
---|
52 | <xsl:call-template name="create-banner"/>
|
---|
53 |
|
---|
54 | </div>
|
---|
55 |
|
---|
56 | <xsl:if test="/page/pageRequest/paramList/param[(@name='formatedit') and (@value='1')]">
|
---|
57 | <xsl:call-template name="formatmanagerpre"/>
|
---|
58 | </xsl:if>
|
---|
59 |
|
---|
60 | <div id="gs_content">
|
---|
61 | <!--
|
---|
62 | show the content of the page.
|
---|
63 | to customise this part, edit the xsl file for the page you want to edit
|
---|
64 | -->
|
---|
65 | <xsl:apply-templates select="/page"/>
|
---|
66 |
|
---|
67 | </div>
|
---|
68 |
|
---|
69 | <!--<xsl:call-template name="formatmanagerpost"/>-->
|
---|
70 |
|
---|
71 | <div id="gs_footer">
|
---|
72 | <xsl:call-template name="poweredByGS3TextBar"/>
|
---|
73 | </div>
|
---|
74 |
|
---|
75 | <div class="corner" id="cornerTopLeft"><xsl:text> </xsl:text></div>
|
---|
76 | <div class="corner" id="cornerTopRight"><xsl:text> </xsl:text></div>
|
---|
77 | <div class="corner" id="cornerBottomLeft"><xsl:text> </xsl:text></div>
|
---|
78 | <div class="corner" id="cornerBottomRight"><xsl:text> </xsl:text></div>
|
---|
79 |
|
---|
80 | </div>
|
---|
81 |
|
---|
82 | </body>
|
---|
83 | </html>
|
---|
84 | </xsl:template>
|
---|
85 | </xsl:stylesheet>
|
---|
86 |
|
---|
87 |
|
---|