- Timestamp:
- 2019-11-14T09:55:56+13:00 (4 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/web/interfaces/core/transform/expand-gslib.xsl
r33666 r33667 24 24 <xslt:stylesheet> 25 25 26 <xsl:for-each select="/ skinAndLibraryXsl/skinXsl/xsl:stylesheet">26 <xsl:for-each select="/pageAndGslibXsl/pageXsl/xsl:stylesheet"> 27 27 28 <!-- produce an exact copy of skinstylesheet, with gslib nodes expanded. -->28 <!-- produce an exact copy of page stylesheet, with gslib nodes expanded. --> 29 29 <xsl:for-each select="@*"> 30 30 <xsl:variable name="attribute-name" select="name()"/> … … 33 33 </xsl:attribute> 34 34 </xsl:for-each> 35 <!-- merge the attributes of the librarystylesheet -->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/@*"> 37 37 <xsl:variable name="attribute-name" select="name()"/> 38 38 <xsl:attribute name="{$attribute-name}"> … … 43 43 <xsl:call-template name="expand_gslib_elements" /> 44 44 45 <!-- add content of library to the skinstylesheet -->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"> 47 47 <xsl:call-template name="expand_gslib_elements" /> 48 48 </xsl:for-each>
Note:
See TracChangeset
for help on using the changeset viewer.