Changeset 30544

Show
Ignore:
Timestamp:
26.05.2016 11:12:46 (4 years ago)
Author:
kjdon
Message:

added in gsf:html template. this template is used to avoid the user having to type <xsl:text disable-output-escaping='yes'>..</xsl:text> when they are trying to add unbalanced html tags into the xml (eg using suffix and prefix with metadata display

Files:
1 modified

Legend:

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

    r30535 r30544  
    670670         XPATH is used to select this item (in header.xsl).  It does not need an explicit definition here in this file  
    671671    --> 
     672    <!-- this template is used to avoid the user having to type  
     673    <xsl:text disable-output-escaping="yes">..</xsl:text> when they are trying to add unbalanced html tags into the xml (eg using suffix and prefix with metadata display --> 
     674    <xsl:template match="gsf:html"> 
     675      <xslt:text disable-output-escaping="yes"><xsl:value-of select="."/></xslt:text> 
     676    </xsl:template> 
    672677 
    673678    <xsl:template match="*">