Changeset 25917

Show
Ignore:
Timestamp:
10.07.2012 14:09:20 (7 years ago)
Author:
sjm84
Message:

Some fixes to allow us to manage xsl:imports/includes

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 modified

Legend:

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

    r25277 r25917  
    2828    <xsl:output method="html" omit-xml-declaration="yes"/>  
    2929 
     30    <xsl:template match="/"> 
     31        <xsl:call-template name="mainTemplate"/> 
     32    </xsl:template> 
     33     
    3034    <!-- the main layout is defined here --> 
    31     <xsl:template match="/"> 
     35    <xsl:template name="mainTemplate"> 
    3236 
    3337        <html> 
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r25837 r25917  
    5555            <!-- if this is the regular version of the page --> 
    5656            <xsl:otherwise> 
    57                 <xsl:apply-imports/> 
     57                <xsl:call-template name="mainTemplate"/> 
    5858            </xsl:otherwise> 
    5959        </xsl:choose>