Changeset 25941


Ignore:
Timestamp:
2012-07-12T21:35:06+12:00 (12 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.

File:
1 edited

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