Ignore:
Timestamp:
2008-08-27T16:28:23+12:00 (16 years ago)
Author:
max
Message:

Move the HTML skeleton from style.xsl to the current XSL file.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/web/interfaces/default/transform/process.xsl

    r8526 r17017  
    77  exclude-result-prefixes="java util">
    88
     9  <!-- style includes global params interface_name, library_name -->
    910  <xsl:include href="style.xsl"/>
    1011  <xsl:include href="service-params.xsl"/>
    1112
    1213  <xsl:output method="html"/> 
     14 
     15    <!-- the main page layout template is here -->
     16  <xsl:template match="page">
     17        <html>
     18    <head>
     19      <title>
     20    <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     21    <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     22      </title>
     23      <xsl:call-template name="globalStyle"/>
     24      <xsl:call-template name="pageStyle"/>
     25    </head>
     26          <body>
     27           <div id="globalwrapper">
     28          <xsl:call-template name="response" />
     29          <xsl:call-template name="greenstoneFooter"/>
     30       </div>
     31          </body>
     32        </html>
     33  </xsl:template>
    1334
    1435  <xsl:template name="pageTitle">
Note: See TracChangeset for help on using the changeset viewer.