Changeset 30535


Ignore:
Timestamp:
2016-05-16T10:31:38+12:00 (5 years ago)
Author:
kjdon
Message:

instead of printing out the text os the params for a query link, we need to call apply templates on params. that way we can include gsf:metadata as argument values

File:
1 edited

Legend:

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

    r30478 r30535  
    152152    </xsl:template>
    153153
     154    <!-- make this empty so we don't process the params element again inside the gsf:link type=query-->
    154155    <xsl:template match="params"></xsl:template>
    155156
     
    194195                            </xsl:otherwise>
    195196                        </xsl:choose>
    196         <xsl:if test="params">?rt=rd&amp;<xsl:copy-of select="params/node()"/></xsl:if>
     197                        <xsl:for-each select="params">?rt=rd&amp;<xsl:apply-templates/></xsl:for-each>
     198       
    197199                    </xslt:attribute>
    198200                    <xsl:copy-of select="$opt-title"/>
Note: See TracChangeset for help on using the changeset viewer.