Ignore:
Timestamp:
2016-04-20T22:56:11+12:00 (8 years ago)
Author:
davidb
Message:

Changes in the XSL and JS code to support the new approach taken to client-side XSLT (using Saxon-CE JS library in the browser). Also the reintroduction of the DirectEdit (Seaweed) template. Not on by default but a simple matter to call the re-instated template for projects that would like to make use of it, such as the digital music stand DL collection. Some white-space changes also occured. This was not deliberate, but would have been quite fiddly to tease out from other changes in the file, so consequently left in.

File:
1 edited

Legend:

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

    r28625 r30478  
    1919  <xsl:param name="library_name"/>
    2020  <xsl:param name="site_name"/>
     21  <xsl:param name="use_client_side_xslt"/>
    2122  <!-- every pages ....................................................................... -->
    2223
     
    159160 
    160161  <xsl:template name="noTextBar">
    161     <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text>
     162    <xsl:text disable-output-escaping="yes">&amp;nbsp;</xsl:text><!-- could also be expressed &#160; -->
    162163  </xsl:template>
    163164 
     
    167168 
    168169  <xsl:template name="rightArrow">
    169     <xsl:text disable-output-escaping="yes"> &amp;raquo; </xsl:text>
     170    <xsl:text disable-output-escaping="yes"> &amp;raquo; </xsl:text> <!-- could also be expressed &#187; -->
    170171  </xsl:template>
    171172 
     
    292293  <xsl:variable name="httpPath" select="/page/pageResponse/collection/metadataList/metadata[@name='httpPath']"/>
    293294  <xsl:variable name="siteName" select="$site_name"/>
    294   <xsl:param name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
     295  <!--
     296      Already defined above as a variable, not sure why if way being defined here again as a 'param'
     297      <xsl:param name="collName" select="/page/pageRequest/paramList/param[@name='c']/@value"/>
     298      -->
    295299  <xsl:param name="pageType"/>
    296300  <xsl:variable name="this-element" select="/page/pageResponse/collection|/page/pageResponse/serviceCluster"/>
Note: See TracChangeset for help on using the changeset viewer.