Changeset 26347

Show
Ignore:
Timestamp:
18.10.2012 15:05:34 (7 years ago)
Author:
sjm84
Message:

We want to get the children of the fragment elements produced from the getCollectionText call

Location:
main/trunk/greenstone3/web/interfaces/default/transform
Files:
2 modified

Legend:

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

    r26345 r26347  
    293293    <xsl:template match="gsf:collectionText" name="gsf:collectionText"> 
    294294    <xslt:variable name="collName" select="/page/pageResponse/collection/@name"/> 
    295         <xslt:value-of select="util:getCollectionText($collName, $site_name, /page/@lang, '{@name}', '{@args}')"/> 
     295        <xslt:value-of select="util:getCollectionText($collName, $site_name, /page/@lang, '{@name}', '{@args}')/*"/> 
    296296    </xsl:template> 
    297297 
  • main/trunk/greenstone3/web/interfaces/default/transform/text_fragment_format.xsl

    r26336 r26347  
    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)/*"/> 
    2626    </xsl:template> 
    2727