Changeset 34526


Ignore:
Timestamp:
11/05/20 11:46:29 (4 weeks ago)
Author:
ak19
Message:

Kathy's fixed the Pointing to Documents tutorial (the file_is_url option) which looked like it had stopped working during linux testing. It wasn't finding an exact match on the required ex.weblink metadata because it was using a contains string test and found the closing tag (ex./weblink) instead. Now an exact string match test is done.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/expand-gsf.xsl

    r33908 r34526  
    308308            </xsl:when>
    309309            <xsl:when test="@type='web'">
    310                 <xslt:value-of disable-output-escaping="yes" select="metadataList/metadata[contains(@name, 'weblink')]"/>
    311                 <xsl:apply-templates/>
    312                 <xslt:value-of disable-output-escaping="yes" select="metadataList/metadata[contains(@name, '/weblink')]"/>
     310              <xslt:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='weblink']"/>
     311              <xsl:apply-templates/>
     312              <xslt:value-of disable-output-escaping="yes" select="metadataList/metadata[@name='/weblink']"/>
    313313            </xsl:when>
    314314            <xsl:when test="@type='page'">
Note: See TracChangeset for help on using the changeset viewer.