Changeset 33667


Ignore:
Timestamp:
2019-11-14T09:55:56+13:00 (4 years ago)
Author:
kjdon
Message:

preProcess.xsl renamed to expand-gslib.xsl to better indicate what it does

File:
1 moved

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/core/transform/expand-gslib.xsl

    r33666 r33667  
    2424    <xslt:stylesheet>
    2525     
    26       <xsl:for-each select="/skinAndLibraryXsl/skinXsl/xsl:stylesheet">
     26      <xsl:for-each select="/pageAndGslibXsl/pageXsl/xsl:stylesheet">
    2727   
    28     <!-- produce an exact copy of skin stylesheet, with gslib nodes expanded. -->
     28    <!-- produce an exact copy of page stylesheet, with gslib nodes expanded. -->
    2929    <xsl:for-each select="@*">
    3030      <xsl:variable name="attribute-name" select="name()"/>
     
    3333      </xsl:attribute>
    3434    </xsl:for-each>
    35     <!-- merge the attributes of the library stylesheet -->
    36     <xsl:for-each select="/skinAndLibraryXsl/libraryXsl/xsl:stylesheet/@*">
     35    <!-- merge the attributes of the gslib stylesheet -->
     36    <xsl:for-each select="/pageAndGslibXsl/gslibXsl/xsl:stylesheet/@*">
    3737      <xsl:variable name="attribute-name" select="name()"/>
    3838      <xsl:attribute name="{$attribute-name}">
     
    4343    <xsl:call-template name="expand_gslib_elements" />
    4444   
    45     <!-- add content of library to the skin stylesheet -->
    46     <xsl:for-each select="/skinAndLibraryXsl/libraryXsl/xsl:stylesheet">
     45    <!-- add content of gslib to the page stylesheet -->
     46    <xsl:for-each select="/pageAndGslibXsl/gslibXsl/xsl:stylesheet">
    4747      <xsl:call-template name="expand_gslib_elements" />
    4848    </xsl:for-each>
Note: See TracChangeset for help on using the changeset viewer.