Changeset 25941

Show
Ignore:
Timestamp:
12.07.2012 21:35:06 (7 years ago)
Author:
ak19
Message:

Introducing gsf:cgi-param since the Enhanced PDF tutorial uses it for search query highlighting in Acrobat when on Windows.

Files:
1 modified

Legend:

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

    r25928 r25941  
    125125        </xsl:choose> 
    126126    </xsl:template> 
     127     
     128    <!-- gsf:cgiparam example, as used by the Enhanced PDF tutorial:  
     129        <a><xsl:attribute name="href"><gsf:metadata name="httpPath" type="collection"/>/index/assoc/<gsf:metadata name="archivedir"/>/<gsf:metadata name="srclinkFile"/>#search=&amp;quot;<gsf:cgi-param name="query"/>&amp;quot;</xsl:attribute>src doc link with query highlighting</a> --> 
     130    <xsl:template match="gsf:cgi-param"> 
     131        <xslt:value-of disable-output-escaping="yes" select="/page/pageRequest/paramList/param[@name='s1.{@name}']/@value"/>         
     132    </xsl:template> 
    127133 
    128134    <!-- A GLI user can use a gsf:displayText element in GS3's Format Features to retrieve