Changeset 30544


Ignore:
Timestamp:
2016-05-26T11:12:46+12:00 (5 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

File:
1 edited

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