[19856] | 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"
|
---|
[23336] | 4 |
|
---|
[19856] | 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"
|
---|
[22516] | 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"
|
---|
[22598] | 12 | xmlns:exsl="http://exslt.org/common"
|
---|
[22516] | 13 |
|
---|
[22598] | 14 | extension-element-prefixes="java util result exsl"
|
---|
[19856] | 15 | exclude-result-prefixes="util java util">
|
---|
| 16 |
|
---|
[23813] | 17 | <xsl:include href="header.xsl"/>
|
---|
| 18 | <!--<xsl:include href="formatmanager.xsl"/>-->
|
---|
| 19 |
|
---|
[22458] | 20 | <xsl:include href="xml-to-gui.xsl"/>
|
---|
[22598] | 21 | <xsl:include href="xml-to-gui-templates.xsl"/>
|
---|
[22458] | 22 |
|
---|
[19988] | 23 | <!-- put the URL or path of your site here site -->
|
---|
| 24 | <!-- eg 'http://www.example.com/mysite' or '/mysite' -->
|
---|
[20380] | 25 | <xsl:template name="siteURL"><xsl:value-of select="/page/pageResponse/metadataList/metadata[@name='siteURL']"/></xsl:template>
|
---|
[19856] | 26 |
|
---|
[19988] | 27 |
|
---|
[19856] | 28 | <!-- the output format for this layout is html -->
|
---|
[23336] | 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"/>
|
---|
[19856] | 31 |
|
---|
| 32 | <!-- the main layout is defined here -->
|
---|
| 33 | <xsl:template match="/">
|
---|
| 34 |
|
---|
| 35 | <html>
|
---|
| 36 |
|
---|
| 37 | <head>
|
---|
[23813] | 38 | <!-- ***** in header.xsl ***** -->
|
---|
| 39 | <xsl:call-template name="create-html-header"/>
|
---|
[19856] | 40 | <xsl:call-template name="berryBasketHeadTags"/>
|
---|
| 41 | </head>
|
---|
| 42 |
|
---|
[19988] | 43 | <body><xsl:call-template name="textDirectionAttribute"/><xsl:call-template name="actionClass"/>
|
---|
[23989] | 44 |
|
---|
[19988] | 45 | <xsl:call-template name="displayErrorsIfAny"/>
|
---|
[23989] | 46 | <a name="top"><xsl:text> </xsl:text></a>
|
---|
[23813] | 47 | <div id="container">
|
---|
[19856] | 48 |
|
---|
[22783] | 49 | <div id="gs_banner">
|
---|
[19856] | 50 |
|
---|
[23813] | 51 | <!-- ***** in header.xsl ***** -->
|
---|
| 52 | <xsl:call-template name="create-banner"/>
|
---|
[19856] | 53 |
|
---|
| 54 | </div>
|
---|
[23813] | 55 |
|
---|
| 56 | <!--<xsl:call-template name="formatmanagerpre"/>-->
|
---|
[19856] | 57 |
|
---|
[22783] | 58 | <div id="gs_content">
|
---|
[19856] | 59 | <!--
|
---|
| 60 | show the content of the page.
|
---|
| 61 | to customise this part, edit the xsl file for the page you want to edit
|
---|
| 62 | -->
|
---|
| 63 | <xsl:apply-templates select="/page"/>
|
---|
[19988] | 64 |
|
---|
[19856] | 65 | </div>
|
---|
[23813] | 66 |
|
---|
| 67 | <!--<xsl:call-template name="formatmanagerpost"/>-->
|
---|
[19856] | 68 |
|
---|
[22783] | 69 | <div id="gs_footer">
|
---|
[19856] | 70 | <xsl:call-template name="poweredByGS3TextBar"/>
|
---|
| 71 | </div>
|
---|
| 72 |
|
---|
| 73 | <div class="corner" id="cornerTopLeft"><xsl:text> </xsl:text></div>
|
---|
| 74 | <div class="corner" id="cornerTopRight"><xsl:text> </xsl:text></div>
|
---|
| 75 | <div class="corner" id="cornerBottomLeft"><xsl:text> </xsl:text></div>
|
---|
| 76 | <div class="corner" id="cornerBottomRight"><xsl:text> </xsl:text></div>
|
---|
| 77 |
|
---|
[23813] | 78 | </div>
|
---|
[19856] | 79 |
|
---|
| 80 | </body>
|
---|
| 81 | </html>
|
---|
| 82 | </xsl:template>
|
---|
| 83 | </xsl:stylesheet>
|
---|
| 84 |
|
---|
| 85 |
|
---|