Ignore:
Timestamp:
2009-01-06T14:26:10+13:00 (15 years ago)
Author:
kjdon
Message:

indented the xml nicely.

File:
1 edited

Legend:

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

    r17017 r18316  
    1212  <xsl:output method="html"/> 
    1313 
    14     <!-- the main page layout template is here -->
     14  <!-- the main page layout template is here -->
    1515  <xsl:template match="page">
    16         <html>
    17     <head>
    18       <title>
    19     <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
    20     <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
    21       </title>
    22       <xsl:call-template name="globalStyle"/>
    23       <xsl:call-template name="pageStyle"/>
    24     </head>
    25           <body>
    26            <div id="globalwrapper">
    27           <xsl:call-template name="response" />
    28           <xsl:call-template name="greenstoneFooter"/>
    29        </div>
    30           </body>
    31         </html>
     16    <html>
     17      <head>
     18    <title>
     19      <!-- put a space in the title in case the actual value is missing - mozilla will not display a page with no title-->
     20      <xsl:call-template name="pageTitle"/><xsl:text> </xsl:text>
     21    </title>
     22    <xsl:call-template name="globalStyle"/>
     23    <xsl:call-template name="pageStyle"/>
     24      </head>
     25      <body>
     26    <div id="globalwrapper">
     27      <xsl:call-template name="response" />
     28      <xsl:call-template name="greenstoneFooter"/>
     29    </div>
     30      </body>
     31    </html>
    3232  </xsl:template>
    3333
     
    4141  <xsl:template match="pageResponse">
    4242    <xsl:variable name="collName"><xsl:value-of select="../pageRequest/paramList/param[@name='c']/@value"/></xsl:variable>
    43      <xsl:call-template name="standardPageBanner">
    44     <xsl:with-param name="collName" select="$collName"/>
    45       </xsl:call-template>
     43    <xsl:call-template name="standardPageBanner">
     44      <xsl:with-param name="collName" select="$collName"/>
     45    </xsl:call-template>
    4646   
    4747    <xsl:call-template name="navigationBar">
     
    5151      <xsl:copy-of select="service/applet"/>
    5252    </div>
    53     </xsl:template>
     53  </xsl:template>
    5454</xsl:stylesheet> 
    5555
Note: See TracChangeset for help on using the changeset viewer.