Changeset 28581

Show
Ignore:
Timestamp:
01.11.2013 13:51:09 (6 years ago)
Author:
jlwhisler
Message:

Added a choose-title template here as a backup. Noticed that if you delete this template from the global format feature, but still call the template in the documentNode, you end up with an error because you're calling a template that doesn't exist.

Files:
1 modified

Legend:

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

    r28580 r28581  
    571571    </xsl:template> 
    572572 
     573    <xsl:template name="choose-title"> 
     574        <gsf:choose-metadata> 
     575            <gsf:metadata name="dc.Title"/> 
     576            <gsf:metadata name="exp.Title"/> 
     577            <gsf:metadata name="ex.dc.Title"/> 
     578            <gsf:metadata name="Title"/> 
     579            <gsf:default>Untitled</gsf:default> 
     580        </gsf:choose-metadata> 
     581    </xsl:template> 
    573582</xsl:stylesheet>