Changeset 30699

Show
Ignore:
Timestamp:
12.08.2016 12:00:18 (3 years ago)
Author:
kjdon
Message:

reversing one of my previous commits. The full path here is important. assocfilepath is only found at the document metadataList, not in a subsections metadataList. So need to get from document's list, not local sections list

Files:
1 modified

Legend:

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

    r30689 r30699  
    145145                    <xslt:value-of disable-output-escaping="yes" select="/page/pageResponse/collection/metadataList/metadata[@name = 'httpPath']"/> 
    146146                    <xsl:text>/index/assoc/</xsl:text> 
    147                     <xslt:value-of disable-output-escaping="yes" select="./metadataList/metadata[@name = 'assocfilepath']"/> 
     147                    <xslt:value-of disable-output-escaping="yes" select="/page/pageResponse/document/metadataList/metadata[@name = 'assocfilepath']"/> 
    148148                    <xsl:text>/</xsl:text> 
    149149                    <xslt:choose>