Changeset 26386

Show
Ignore:
Timestamp:
25.10.2012 13:26:15 (7 years ago)
Author:
kjdon
Message:

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

Files:
1 modified

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