Changeset 30560


Ignore:
Timestamp:
2016-06-02T14:41:42+12:00 (8 years ago)
Author:
kjdon
Message:

added in basic handling for HTML type classifiers

File:
1 edited

Legend:

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

    r29279 r30560  
    173173                </xsl:for-each>
    174174            </xsl:when>
    175             <xsl:otherwise/>
     175            <xsl:when test="@childType = 'HTML'">
     176              <xsl:variable name="URL"><xsl:value-of select="documentNode/@nodeID"/></xsl:variable>
     177      <iframe width="100%" height="600" frameborder="0"><xsl:attribute name="src"><xsl:value-of select="$URL"/></xsl:attribute>Frame for <xsl:value-of select="$URL"/></iframe>
     178            </xsl:when>
     179            <xsl:otherwise>
     180              we are in the other wise
     181            </xsl:otherwise>
    176182        </xsl:choose>
    177183    </xsl:template>
Note: See TracChangeset for help on using the changeset viewer.