Changeset 39011


Ignore:
Timestamp:
2024-05-09T17:33:23+12:00 (3 weeks ago)
Author:
anupama
Message:

Kathy discovered stylesheet errors being logged and tracked it down to an unused template I'd added, but didn't actively call it as I couldn't get to work and had meant to consult her about. I've now commented it out so hopefully the errors won't appear.

File:
1 edited

Legend:

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

    r38992 r39011  
    451451  </xsl:template>
    452452
     453  <!-- Doesn't work -->
    453454  <!-- https://our.umbraco.com/forum/developers/xslt/9274-Return-Value-from-a-Template -->
     455  <!--<xsl:value-of select="$varName"/>-->
     456  <!--<xsl:attribute name="name"><xsl:value-of select="$varName" /></xsl:attribute>-->
     457  <!--
    454458  <xsl:template name="set-collage-gsfvar-if-exists">
    455459    <xsl:param name="varName" />
    456     <!--<xsl:value-of select="$varName"/>-->
     460
    457461    <xsl:choose>
    458462      <xsl:when test="option[@name=$varName]/@value">
    459463    <gsf:variable name="$varName">
    460       <!--<xsl:attribute name="name"><xsl:value-of select="$varName" /></xsl:attribute>-->
     464     
    461465      <xsl:value-of select="option[@name=$varName]/@value"/>
    462466    </gsf:variable>
     
    464468    </xsl:choose>
    465469  </xsl:template>
    466  
     470  -->
    467471</xsl:stylesheet>
Note: See TracChangeset for help on using the changeset viewer.