Changeset 26386 for main/trunk


Ignore:
Timestamp:
2012-10-25T13:26:15+13:00 (11 years ago)
Author:
kjdon
Message:

use node() instead of * as * seems only to get named nodes, not text nodes

File:
1 edited

Legend:

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

    r26347 r26386  
    2323    <!-- With gsf:collectionText, a user can request a string from the collection's dictionary in the current lang -->
    2424    <xsl:template match="gsf:collectionText" name="gsf:collectionText">
    25         <xsl:copy-of select="util:getCollectionText($collName, $site_name, $lang, @name, @args)/*"/>
     25        <xsl:copy-of select="util:getCollectionText($collName, $site_name, $lang, @name, @args)/node()"/>
    2626    </xsl:template>
    2727
Note: See TracChangeset for help on using the changeset viewer.