Changeset 31533


Ignore:
Timestamp:
2017-03-23T12:12:59+13:00 (4 years ago)
Author:
kjdon
Message:

if ed=1 for paged document, want to go through the nodes and process them.

File:
1 edited

Legend:

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

    r31416 r31533  
    219219                </table>
    220220            </xsl:if>
    221            
    222221            <xsl:choose>
    223222                <xsl:when test="../../document">
     
    228227                </xsl:otherwise>
    229228            </xsl:choose>
    230            
    231229            <xsl:if test="documentNode">
    232230                <xsl:for-each select="documentNode">
     
    383381                OR If the docType is hierarchy and we have asked for the expanded document OR we have asked for the top level document then do this
    384382            -->
    385             <xsl:when test="/page/pageResponse/document/@docType = 'hierarchy' and (/page/pageRequest/paramList/param[@name = 'alb']/@value = '1' or (string-length(/page/pageRequest/paramList/param[@name = 'd']/@value) > 0 and (/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or not(util:contains(/page/pageResponse/document/@selectedNode, '.')))))">
     383            <xsl:when test="/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or (/page/pageResponse/document/@docType = 'hierarchy' and (/page/pageRequest/paramList/param[@name = 'alb']/@value = '1' or (string-length(/page/pageRequest/paramList/param[@name = 'd']/@value) > 0 and (/page/pageRequest/paramList/param[@name = 'ed']/@value = '1' or not(util:contains(/page/pageResponse/document/@selectedNode, '.'))))))">
    386384                <div id="gs-document">
    387385                    <xsl:call-template name="documentPre"/>
Note: See TracChangeset for help on using the changeset viewer.