Changeset 30699 for main/trunk


Ignore:
Timestamp:
2016-08-12T12:00:18+12:00 (8 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

File:
1 edited

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>
Note: See TracChangeset for help on using the changeset viewer.