Ignore:
Timestamp:
2012-10-18T15:05:34+13:00 (12 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 edited

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